Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(client): Add a "forgot password?" link when using cached credenti…
Browse files Browse the repository at this point in the history
…als.

fixes #1632
  • Loading branch information
Shane Tomlinson committed Oct 7, 2014
1 parent 8ba4336 commit 99754f7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/scripts/templates/sign_in.mustache
Expand Up @@ -45,17 +45,23 @@
<button id="submit-btn" type="submit" class="disabled">{{#t}}Sign in{{/t}}</button>
</div>
</form>

<div class="links">
<a href="/reset_password" class="left reset-password">{{#t}}Forgot password?{{/t}}</a>
<a href="/#" class="right use-different">{{#t}}Use a different account{{/t}}</a><br/>
</div>
{{/chooserAskForPassword}}

{{^chooserAskForPassword}}
<div class="button-row">
<button type="submit" class="use-logged-in">{{#t}}Sign in{{/t}}</button>
</div>

<div class="links">
<a href="/#" class="use-different">{{#t}}Use a different account{{/t}}</a><br/>
</div>
{{/chooserAskForPassword}}

<div class="links">
<a href="/#" class="use-different">{{#t}}Use a different account{{/t}}</a><br/>
</div>

{{/suggestedUser}}

Expand Down

0 comments on commit 99754f7

Please sign in to comment.