Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Show the old password field only if the user is logged in #27

Merged
merged 1 commit into from

2 participants

Dotan Dimet Sébastien Aperghis-Tramoni
Dotan Dimet

prevent confusion from users who got here via 'forgot password? click here' link.
Merci!

Dotan Dimet dotandimet Show the old password field only if the user is logged in - prevent c…
…onfusion from users who got here via 'forgot password? click here' link
2b1d62b
Sébastien Aperghis-Tramoni maddingue merged commit 8c877bc into from
Sébastien Aperghis-Tramoni
Collaborator

Apologies, I thought we had merged this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 20, 2011
  1. Dotan Dimet

    Show the old password field only if the user is logged in - prevent c…

    dotandimet authored
    …onfusion from users who got here via 'forgot password? click here' link
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  templates/user/change_password
3  templates/user/change_password
View
@@ -15,7 +15,7 @@
<table border="1" cellpadding="10" cellspacing="0"><tr><td>
<table border="0" cellpadding="0" cellspacing="10">
-
+[% IF (global.request.user) %]
<tr>
<td>{{Current password}}<br />
</tr>
@@ -24,6 +24,7 @@
<input type="password" name="oldpassword" value="" size="25" maxlength="60" />
</td>
</tr>
+[% END %]
<tr>
<td>{{New password}}<br />
<font size="-1">{{Enter your new password twice}}</font>
Something went wrong with that request. Please try again.