Skip to content

Commit

Permalink
Fix conditions to show the user reset link
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbaptista committed Nov 16, 2016
1 parent 438ebb9 commit 3ca78be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rd_ui/app/views/users/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ <h3 class="p-l-5">{{user.name}}</h3>
</button>
</div>

<div ng-if="passwordResetLink && !disablePasswordResetButton" class="alert alert-success">
<p>
<div ng-if="passwordResetLink" class="alert alert-success">
<p ng-if="!clientConfig.mailSettingMissing">
<strong>The user should receive a link to reset his password by email soon.</strong>
</p>
<p ng-if="!clientConfig.mailSettingsMissing">
<p ng-if="clientConfig.mailSettingsMissing">
You don't have mail server configured, please send the following link
to {{user.name}} to reset their password:<br/>
<a ng-href="passwordResetLink">{{passwordResetLink}}</a>
Expand Down

0 comments on commit 3ca78be

Please sign in to comment.