view mod_auth_wordpress/README.markdown @ 4148:34a2e8796cff

mod_firewall: Update chain name for consistency We keep the old JUMP CHAIN for compat, and in case we add internal content checking rules in the future.
author Matthew Wild <mwild1@gmail.com>
date Mon, 21 Sep 2020 15:45:53 +0100
parents 4d73a1a6ba68
children
line wrap: on
line source

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

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

This module allows you to authenticate against an Wordpress database.

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

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

    authentication = "wordpress"
    wordpress_table_prefix = "wp_" -- default table prefix
    sql = { -- See documentation for SQL storage
        driver = "MySQL";
        database = "my_wordpress";
        host = "localhost";
        username = "prosody";
        password = "secretpassword";
    }

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

Prosody 0.8+