mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 09:49:05 +01: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;
|
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 state = $ref<string | null>(null);
|
||||||
let code = $ref<string | null>(null);
|
let code = $ref<string | null>(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user