Skip to content

Commit

Permalink
always allow refreshing one's avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Feb 2, 2025
1 parent 918b7b2 commit ed53a1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions www/%username/edit/avatar.spt
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ subhead = _("Avatar")
<span>{{ _("What is Libravatar?") }}</span>
</a>
<br><br>
% if participant.avatar_url and request.method == 'GET'
<form action="" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
<button class="btn btn-default" name="action" value="refresh">
{{ icon('refresh') }} <span>{{ _("Refresh") }}</span>
</button>
</form>
% endif
</div>
</div>
% endif
Expand Down

0 comments on commit ed53a1d

Please sign in to comment.