mirror of
https://github.com/wekan/wekan.git
synced 2026-03-07 22:22:33 +01:00
Show password at Login and Register pages.
Thanks to xet7 ! Fixes #6070
This commit is contained in:
parent
7291617a77
commit
d30192f7f9
4 changed files with 119 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
|
|||
|
||||
const passwordField = AccountsTemplates.removeField('password');
|
||||
passwordField.autocomplete = 'current-password';
|
||||
passwordField.template = 'passwordInput';
|
||||
const emailField = AccountsTemplates.removeField('email');
|
||||
let disableRegistration = false;
|
||||
let disableForgotPassword = false;
|
||||
|
|
@ -70,6 +71,7 @@ AccountsTemplates.addFields([
|
|||
required: true,
|
||||
minLength: 6,
|
||||
autocomplete: 'new-password',
|
||||
template: 'passwordInput',
|
||||
},
|
||||
{
|
||||
_id: 'invitationcode',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue