diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-05-23 22:43:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-23 22:43:13 +0200 |
| commit | f90c947036dc6d9c0b7e4ea7cfa1dc53a0b98c15 (patch) | |
| tree | dee269154662ecb8bcf080be023dfb7de51ceddc | |
| parent | fix(client): fix undefined data value on 2FA settings (#8725) (diff) | |
| download | sharkey-f90c947036dc6d9c0b7e4ea7cfa1dc53a0b98c15.tar.gz sharkey-f90c947036dc6d9c0b7e4ea7cfa1dc53a0b98c15.tar.bz2 sharkey-f90c947036dc6d9c0b7e4ea7cfa1dc53a0b98c15.zip | |
fix(client): wrong scoping breaks 2FA
| -rw-r--r-- | packages/client/src/components/signin.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/components/signin.vue b/packages/client/src/components/signin.vue index e3d92dc431..d283a758a6 100644 --- a/packages/client/src/components/signin.vue +++ b/packages/client/src/components/signin.vue @@ -106,8 +106,8 @@ const props = defineProps({ function onUsernameChange() { os.api('users/show', { username: username - }).then(user => { - user = user; + }).then(userResponse => { + user = userResponse; }, () => { user = null; }); |