fix(client): wrong scoping breaks 2FA

This commit is contained in:
Johann150 2022-05-23 22:43:13 +02:00 committed by GitHub
parent 563cb36a8f
commit f90c947036
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
});