Commit 6ea028e0 authored by Dirk Steinmetz's avatar Dirk Steinmetz Committed by Frédéric Buclin

Bug 455301: Don't show password box on userprefs.cgi if your auth method didn't use DB passwords

r=LpSolit a=justdave
parent 378f60e2
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
#%] #%]
<table> <table>
[% IF user.authorizer.can_change_password
|| (user.authorizer.can_change_email && Param('allowemailchange')) %]
<tr> <tr>
<td colspan="3"> <td colspan="3">
Please enter your existing password to confirm account changes. Please enter your existing password to confirm account changes.
...@@ -28,6 +30,8 @@ ...@@ -28,6 +30,8 @@
<tr> <tr>
<td colspan="2"><hr></td> <td colspan="2"><hr></td>
</tr> </tr>
[% END %]
[% IF user.authorizer.can_change_password %] [% IF user.authorizer.can_change_password %]
<tr> <tr>
<th align="right">New password:</th> <th align="right">New password:</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment