FIX: validate email address in signup form even for 3rd party auths

This commit is contained in:
Neil Lalonde 2015-11-26 15:44:30 -05:00
parent ba0df7e4cd
commit 4a25d55e9f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
},
submitDisabled: function() {
if (!this.get('passwordRequired')) return false; // 3rd party auth
if (!this.get('emailValidation.failed') && !this.get('passwordRequired')) return false; // 3rd party auth
if (this.get('formSubmitted')) return true;
if (this.get('nameValidation.failed')) return true;
if (this.get('emailValidation.failed')) return true;