mod_auth_phpbb3/README.markdown
author Kim Alvefur <zash@zash.se>
Sat, 25 Jan 2020 20:22:12 +0100
changeset 3870 c0df50ce96f0
parent 2172 28d99ffa3c06
permissions -rw-r--r--
mod_rest: Handle internal http request errors early and then return Skips over attempted parsing of the payload which usually failed since the body is an error string like "connection refused", so this produced useless errors.

---
labels:
- 'Stage-Alpha'
- 'Type-Auth'
summary: PHPBB3 authentication module
...

Introduction
============

This module allows you to authenticate against an PHPBB3 database.

To support the `bcrypt` password hashing algorithm, install
[bcrypt](https://luarocks.org/modules/mikejsavage/bcrypt) from luarocks:

    luarocks install bcrypt

Configuration
=============

SQL connection paramaters are identical to those of [SQL
storage](https://prosody.im/doc/modules/mod_storage_sql).

    authentication = "phpbb3"
    sql = { -- See documentation for SQL storage
        driver = "MySQL";
        database = "phpbb3";
        host = "localhost";
        username = "prosody";
        password = "secretpassword";
    }

Compatibility
=============

Prosody 0.8+