Skip to content

Commit

Permalink
Merge pull request #6541 from OCHA-DAP/dev
Browse files Browse the repository at this point in the history
dev into prod
  • Loading branch information
danmihaila authored Feb 25, 2025
2 parents 9fb86f3 + 0ce6895 commit 2873aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ckanext-hdx_theme/ckanext/hdx_theme/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hdx_version = 'v1.88.2'
hdx_version = 'v1.88.3'
10 changes: 2 additions & 8 deletions ckanext-hdx_users/ckanext/hdx_users/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
from typing import Any, Optional, Mapping

from flask import Blueprint
from flask import Blueprint, url_for

import ckan.authz as new_authz
import ckan.model as model
Expand Down Expand Up @@ -218,13 +218,7 @@ def _extra_template_variables(context, data_dict):


def logged_out_page():
template_data = {
'data': {
'success': True,
'message': _('User logged out with success')
}
}
return render('home/index.html', extra_vars=template_data)
return redirect(url_for('home.index'))

user.add_url_rule(u'/reset', view_func=HDXRequestResetView.as_view(str(u'request_reset')))
user.add_url_rule(u'/reset/<id>', view_func=HDXPerformResetView.as_view(str(u'perform_reset')))
Expand Down

0 comments on commit 2873aad

Please sign in to comment.