mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:33:10 +02:00
fix(client): wrong scoping breaks 2FA
This commit is contained in:
parent
563cb36a8f
commit
f90c947036
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue