diff --git a/app/assets/javascripts/discourse/controllers/login.js.es6 b/app/assets/javascripts/discourse/controllers/login.js.es6 index 799598f6da9..79fb821f125 100644 --- a/app/assets/javascripts/discourse/controllers/login.js.es6 +++ b/app/assets/javascripts/discourse/controllers/login.js.es6 @@ -46,10 +46,6 @@ export default Discourse.Controller.extend(Discourse.ModalFunctionality, { actions: { login: function() { - if (this.blank('loginName') || this.blank('loginPassword')) { - this.flash(I18n.t('login.blank_username_or_password'), 'error'); - return false; - } this.set('loggingIn', true); var self = this;