##// END OF EJS Templates
auth: Fix password_changed function, fixes #4043....
auth: Fix password_changed function, fixes #4043. Never repot a changed password for default or anonymous users. If anonymous access is disabled we don't get the default user here so we also have to check if it is the anonymous user. In both cases (default user and anonymous user) we can skip the password change check and return False.

File last commit:

r1:854a839a default
r482:930b0a4d default
Show More
pull_request_update.mako
26 lines | 651 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
Auto status change to |under_review|
.. role:: added
.. role:: removed
.. parsed-literal::
Changed commits:
* :added:`${len(added_commits)} added`
* :removed:`${len(removed_commits)} removed`
%if not changed_files:
No file changes found
%else:
Changed files:
%for file_name in added_files:
* `A ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in modified_files:
* `M ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in removed_files:
* R ${file_name}
%endfor
%endif
.. |under_review| replace:: *"${under_review_label}"*