##// 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
tags_data.html
29 lines | 980 B | text/html | HtmlLexer
## DATA TABLE RE USABLE ELEMENTS FOR TAGS
## usage:
## <%namespace name="tags" file="/tags/tags_data.html"/>
## tags.<func_name>(arg,arg2)
<%def name="compare(commit_id)">
<input class="compare-radio-button" type="radio" name="compare_source" value="${commit_id}"/>
<input class="compare-radio-button" type="radio" name="compare_target" value="${commit_id}"/>
</%def>
<%def name="name(name, files_url)">
<span class="tagtag tag" title="${_('Tag %s') % (name,)}">
<a href="${files_url}"><i class="icon-tag"></i>${name}</a>
</span>
</%def>
<%def name="date(date)">
${h.age_component(date)}
</%def>
<%def name="author(author)">
<span class="tooltip" title="${author}">${h.link_to_user(author)}</span>
</%def>
<%def name="commit(message, commit_id, commit_idx)">
<div>
<pre><a title="${message}" href="${h.url('files_home',repo_name=c.repo_name,revision=commit_id)}">r${commit_idx}:${h.short_id(commit_id)}</a></pre>
</div>
</%def>