Skip to content

Commit

Permalink
partially solved #229
Browse files Browse the repository at this point in the history
  • Loading branch information
splendido committed Jan 28, 2015
1 parent 612bcac commit fbe21dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/templates_helpers/at_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ AT.prototype.atFormHelpers = {
return false;
var state = next_state || this.state || AccountsTemplates.getState();
//return state === "signUp" || state === "forgotPwd";
console.log("show showSignInLink " + state);
if (AccountsTemplates.options.forbidClientAccountCreation && state === "forgotPwd")
return true;
return state === "signUp";
},
showSignUpLink: function(next_state){
Expand Down

0 comments on commit fbe21dd

Please sign in to comment.