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

r1922:4edc1a1e default
r2203:8a18c3c3 default
Show More
user_edit_audit.mako
22 lines | 934 B | application/x-mako | MakoHtmlLexer
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 ## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('User Audit Logs')} -
user-audit: share same template for rendering audit logs between user and admin views.
r1696 ${_ungettext('%s entry', '%s entries', c.audit_logs.item_count) % (c.audit_logs.item_count)}
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559 </h3>
</div>
<div class="panel-body">
${h.form(None, id_="filter_form", method="get")}
<input class="q_filter_box ${'' if c.filter_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.filter_term or ''}" placeholder="${_('audit filter...')}"/>
<input type='submit' value="${_('filter')}" class="btn" />
${h.end_form()}
pyramid: use explicit c var for globals passed in templates instead of the global 'request'
r1922 <p class="tooltip filterexample" style="position: inherit" title="${h.tooltip(h.journal_filter_help(c.pyramid_request))}">${_('Example Queries')}</p>
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559
user-audit: share same template for rendering audit logs between user and admin views.
r1696 <%include file="/admin/admin_log_base.mako" />
admin-users: add audit page to allow showing user actions in RhodeCode....
r1559
</div>
</div>