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

r385:4c58728c default
r482:930b0a4d default
Show More
followers_data.html
29 lines | 911 B | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.html"/>
<table class="rctable followers_data">
<tr>
<th>${_('Follower Name')}</th>
<th>${_('Following Since')}</th>
</tr>
% for f in c.followers_pager:
<tr>
<td class="td-user follower_user">
${base.gravatar_with_user(f.user.email, 16)}
</td>
<td class="td-time follower_date">
${h.age_component(f.follows_from, time_is_local=True)}
</td>
</tr>
% endfor
</table>
<div class="pagination-wh pagination-left">
<script type="text/javascript">
$(document).pjax('#followers.pager_link','#followers');
$(document).on('pjax:success',function(){
show_more_event();
timeagoActivate();
});
</script>
${c.followers_pager.pager('$link_previous ~2~ $link_next')}
</div>