diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2020-09-02 05:19:22 +0200 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2020-09-02 15:22:39 +0200 |
commit | 9e8b1731a334bb1d07a071c44c368c5f77139cd4 (patch) | |
tree | 5adcc1a724fcc6ca9ad2ac15c3235605e51e816c | |
parent | 268e2c269f77e1c3c11a1ed25a9c20bfaab27292 (diff) | |
download | wekan-9e8b1731a334bb1d07a071c44c368c5f77139cd4.tar.gz wekan-9e8b1731a334bb1d07a071c44c368c5f77139cd4.tar.bz2 wekan-9e8b1731a334bb1d07a071c44c368c5f77139cd4.zip |
Accounts: Login only with Username
-rw-r--r-- | client/components/main/layouts.js | 2 | ||||
-rw-r--r-- | config/accounts.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index be1402e9..f51b03c3 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -121,7 +121,7 @@ Template.defaultLayout.events({ }); async function authentication(event, templateInstance) { - const match = $('#at-field-username_and_email').val(); + const match = $('#at-field-username').val(); const password = $('#at-field-password').val(); if (!match || !password) return undefined; diff --git a/config/accounts.js b/config/accounts.js index 4964adee..161478a5 100644 --- a/config/accounts.js +++ b/config/accounts.js @@ -9,7 +9,6 @@ AccountsTemplates.addFields([ required: true, minLength: 2, }, - emailField, passwordField, { _id: 'invitationcode', |