mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
FIX: validate email address in signup form even for 3rd party auths
This commit is contained in:
parent
ba0df7e4cd
commit
4a25d55e9f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue