Skip to content

Commit d23d9ae

Browse files
Modify logout function
1 parent 71eef54 commit d23d9ae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ckanext/password_policy/views.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,7 @@ def logout():
218218
if response:
219219
return response
220220

221-
url = h.url_for(u'user.logged_out_page')
222-
return h.redirect_to(
223-
_get_repoze_handler(u'logout_handler_path') + u'?came_from=' + url,
224-
parse_url=True)
221+
return h.redirect_to(u'user.logged_out_page')
225222

226223

227224
custom_user.add_url_rule(

0 commit comments

Comments
 (0)