##// 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:

r518:9f9ffd3a default
r2203:8a18c3c3 default
Show More
sequence_item.pt
11 lines | 450 B | text/plain | TextLexer
<div tal:omit-tag="field.widget.hidden"
tal:define="
hidden hidden|field.widget.hidden;
description description|field.description;"
title="${description}"
class="form-group row deform-seq-item ${field.error and error_class or ''} ${field.widget.item_css_class or ''}"
i18n:domain="deform">
<div class="deform-seq-item-group">
<span tal:replace="structure field.serialize(cstruct, readonly=True)"/>
</div>
</div>