Changeset 7576 for branches/3.14-stable


Ignore:
Timestamp:
Jan 9, 2019, 3:14:59 PM (3 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2143: Exception when trying to change password or contact information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.14-stable/www/my_base/user/settings.jsp

    r7502 r7576  
    7272  final boolean writePermission = user.hasPermission(Permission.RESTRICTED_WRITE);
    7373  final String ifDisabled = writePermission ? "" : "disabled";
    74   final String passwordDisabled = writePermission && Application.isUsingInternalAuthentication() ?
    75     "" : "disabled";
     74  final String passwordDisabled = writePermission ? "" : "disabled";
    7675  dc.detachItem(user);
    7776  sc.setSessionSetting("user", user);
     
    206205      <t:tab id="password" title="Password" helpid="userpreferences.password">
    207206        <table class="fullform input100">
    208         <% if (!Application.isUsingInternalAuthentication() && writePermission)
    209         {
    210           %>
    211           <tr>
    212             <td colspan="2">
    213             <div class="messagecontainer error">Base is using external authentication. Password cannot be changed here.</div>
    214             </td>
    215           </tr>
    216           <%
    217         }
    218         %>
    219207        <tr>
    220208          <th>Login</th>
Note: See TracChangeset for help on using the changeset viewer.