##// END OF EJS Templates
core: don't check channelstream connections for faster handling of this route.
super-admin -
r4700:ba59a558 stable
parent child
Show More
@@ -119,8 +119,16 class BaseAppView(object):
119 request.matched_route.name, self._rhodecode_db_user)
119 request.matched_route.name, self._rhodecode_db_user)
120
120
121 def _maybe_needs_password_change(self, view_name, user_obj):
121 def _maybe_needs_password_change(self, view_name, user_obj):
122
123 dont_check_views = [
124 'channelstream_connect'
125 ]
126 if view_name in dont_check_views:
127 return
128
122 log.debug('Checking if user %s needs password change on view %s',
129 log.debug('Checking if user %s needs password change on view %s',
123 user_obj, view_name)
130 user_obj, view_name)
131
124 skip_user_views = [
132 skip_user_views = [
125 'logout', 'login',
133 'logout', 'login',
126 'my_account_password', 'my_account_password_update'
134 'my_account_password', 'my_account_password_update'
General Comments 0
You need to be logged in to leave comments. Login now