Revert CKAN who.ini to use pre-2.9 modules

This commit is contained in:
Disassembler 2020-03-13 21:47:25 +01:00
parent 3632568e29
commit 0b46076ae7
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 8 additions and 3 deletions

@ -1 +1 @@
Subproject commit a6dd9ee3e44428b0d7e88b78cd94c4ade306714a Subproject commit c1e60a4adf6339c0390e66ab07b63a242442d52a

View File

@ -1,10 +1,10 @@
[plugin:auth_tkt] [plugin:auth_tkt]
use = ckan.lib.repoze_plugins.auth_tkt:make_plugin use = ckan.lib.auth_tkt:make_plugin
# If no secret key is defined here, beaker.session.secret will be used # If no secret key is defined here, beaker.session.secret will be used
#secret = somesecret #secret = somesecret
[plugin:friendlyform] [plugin:friendlyform]
use = ckan.lib.repoze_plugins.friendly_form:FriendlyFormPlugin use = repoze.who.plugins.friendlyform:FriendlyFormPlugin
login_form_url= /user/login login_form_url= /user/login
login_handler_path = /login_generic login_handler_path = /login_generic
logout_handler_path = /user/logout logout_handler_path = /user/logout
@ -13,6 +13,10 @@ post_login_url = /user/logged_in
post_logout_url = /user/logged_out post_logout_url = /user/logged_out
charset = utf-8 charset = utf-8
#[plugin:basicauth]
#use = repoze.who.plugins.basicauth:make_plugin
#realm = 'CKAN'
[general] [general]
request_classifier = repoze.who.classifiers:default_request_classifier request_classifier = repoze.who.classifiers:default_request_classifier
challenge_decider = repoze.who.classifiers:default_challenge_decider challenge_decider = repoze.who.classifiers:default_challenge_decider
@ -30,3 +34,4 @@ plugins =
[challengers] [challengers]
plugins = plugins =
friendlyform;browser friendlyform;browser
# basicauth