Skip to content

Commit

Permalink
Fix condition to show forgotten password link and alter its message
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbaptista committed Nov 7, 2016
1 parent 69c1f15 commit 438ebb9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rd_ui/app/views/users/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ <h3 class="p-l-5">{{user.name}}</h3>
<p>
<strong>The user should receive a link to reset his password by email soon.</strong>
</p>
<p ng-if="clientConfig.mailSettingsMissing">
You can use the following link to reset the password yourself:<br/>
{{passwordResetLink}}
<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>
</p>
</div>
</div>
Expand Down

0 comments on commit 438ebb9

Please sign in to comment.