diff mod_auth_wordpress/README.wiki @ 1782:29f3d6b7ad16

Import wiki pages
author Kim Alvefur <zash@zash.se>
date Mon, 24 Aug 2015 16:43:56 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_auth_wordpress/README.wiki	Mon Aug 24 16:43:56 2015 +0200
@@ -0,0 +1,26 @@
+#summary Wordpress authentication module
+#labels Stage-Alpha,Type-Auth
+
+= Introduction =
+
+This module allows you to authenticate against an Wordpress database.
+
+= Configuration =
+
+SQL connection paramaters are identical to those of [https://prosody.im/doc/modules/mod_storage_sql SQL storage].
+
+{{{
+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+