Properly apply the username prefill

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-11-03 10:49:45 +01:00
parent 0f9dff1683
commit 8eab1fedfe
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF
3 changed files with 4 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -143,7 +143,7 @@ export default {
data() {
return {
loading: false,
user: this.username,
user: loadState('core', 'loginUsername', ''),
passwordlessLogin: false,
resetPassword: false,
@ -151,7 +151,6 @@ export default {
errors: loadState('core', 'loginErrors', []),
messages: loadState('core', 'loginMessages', []),
redirectUrl: loadState('core', 'loginRedirectUrl', false),
username: loadState('core', 'loginUsername', ''),
throttleDelay: loadState('core', 'loginThrottleDelay', 0),
invertedColors: OCA.Theming && OCA.Theming.inverted,
canResetPassword: loadState('core', 'loginCanResetPassword', false),