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

r2105:4ad1a937 default
r2203:8a18c3c3 default
Show More
settings_issuetracker.mako
34 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_issuetracker.mako
templating: use .mako as extensions for template files.
r1282 <%namespace name="its" file="/base/issue_tracker_settings.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Issue Tracker / Wiki Patterns')}</h3>
</div>
<div class="panel-body">
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
r2105 ${h.secure_form(h.url('admin_settings_issuetracker_save'), request=request)}
templating: use .mako as extensions for template files.
r1282 ${its.issue_tracker_settings_table(
patterns=c.issuetracker_entries.items(),
pyramid: stop relying on global mako url() function....
r1910 form_url=h.url('admin_settings_issuetracker'),
delete_url=h.url('admin_issuetracker_delete')
templating: use .mako as extensions for template files.
r1282 )}
<div class="buttons">
<button type="submit" class="btn btn-primary" id="save">${_('Save')}</button>
<button type="reset" class="btn">${_('Reset')}</button>
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Test Patterns')}</h3>
</div>
<div class="panel-body">
${its.issue_tracker_new_row()}
pyramid: stop relying on global mako url() function....
r1910 ${its.issue_tracker_settings_test(test_url=h.url('admin_issuetracker_test'))}
templating: use .mako as extensions for template files.
r1282 </div>
</div>