mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 15:58:05 +09:00
[mastodon-client] Fix login with clients that leave a trailing + in the scope parameter
This commit is contained in:
parent
8b41cba3e1
commit
89bc799765
@ -107,7 +107,7 @@ const props = defineProps<{
|
||||
lang?: string;
|
||||
}>();
|
||||
|
||||
const _scopes = props.scope?.split(" ") ?? ['read'];
|
||||
const _scopes = props.scope?.split(" ")?.filter(p => p.length > 0) ?? ['read'];
|
||||
|
||||
let state = $ref<string | null>(null);
|
||||
let code = $ref<string | null>(null);
|
||||
|
Loading…
Reference in New Issue
Block a user