##// 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
atom_feed_entry.mako
34 lines | 929 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
${_('%(user)s commited on %(date)s UTC') % {
'user': h.person(commit.author),
'date': h.format_date(commit.date)
}}
<br/>
% if commit.branch:
branch: ${commit.branch} <br/>
% endif
% for bookmark in getattr(commit, 'bookmarks', []):
bookmark: ${bookmark} <br/>
% endfor
% for tag in commit.tags:
tag: ${tag} <br/>
% endfor
commit: <a href="${h.url('changeset_home', repo_name=c.rhodecode_db_repo.repo_name, revision=commit.raw_id, qualified=True)}">${h.show_id(commit)}</a>
<pre>
${h.urlify_commit_message(commit.message)}
% for change in parsed_diff:
% if limited_diff:
${_('Commit was too big and was cut off...')}
% endif
${change['operation']} ${change['filename']} ${'(%(added)s lines added, %(removed)s lines removed)' % {'added': change['stats']['added'], 'removed': change['stats']['deleted']}}
% endfor
% if feed_include_diff:
${diff_processor.as_raw()}
% endif
</pre>