mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-08 09:43:51 +09:00
fix(client): wrong scoping breaks 2FA
This commit is contained in:
@ -106,8 +106,8 @@ const props = defineProps({
|
|||||||
function onUsernameChange() {
|
function onUsernameChange() {
|
||||||
os.api('users/show', {
|
os.api('users/show', {
|
||||||
username: username
|
username: username
|
||||||
}).then(user => {
|
}).then(userResponse => {
|
||||||
user = user;
|
user = userResponse;
|
||||||
}, () => {
|
}, () => {
|
||||||
user = null;
|
user = null;
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user