##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r1255:952cdf08 default
r2203:8a18c3c3 default
Show More
pull_request_update.mako
26 lines | 673 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
Pull request updated. 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}"*