]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/development.ini
Added authentication/authorization using the MediaWiki database. Closes ticket #50.
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
index d08a8c9354b0c7a4a29cb7fa723b3ab12cf40608..32f50380e6e41d426a0c0c398bd2230f76f9022a 100644 (file)
@@ -10,12 +10,6 @@ email_to = philipp.spitzer@winterrodeln.org
 smtp_server = localhost
 error_email_from = philipp.spitzer@winterrodeln.org
 
-wikidbtype = mysql
-wikidbserver = localhost
-wikidbname = winterrodeln_wiki
-wikidbuser = philipp
-wikidbpassword =
-
 [server:main]
 use = egg:Paste#http
 host = 127.0.0.1
@@ -30,6 +24,17 @@ cache_dir = %(here)s/data
 beaker.session.key = wradmin
 beaker.session.secret = somesecret
 
+wikidbtype = mysql
+wikidbserver = localhost
+wikidbname = winterrodeln_wiki
+wikidbuser = philipp
+wikidbpassword =
+
+authkit.setup.method = basic
+authkit.basic.realm = Winterrodeln Admin
+authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers
+authkit.basic.authenticate.user.data = 
+
 # If you'd like to fine-tune the individual locations of the cache data dirs
 # for the Cache data, or the Session saves, un-comment the desired settings
 # here: