mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +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;
|
||||
}>();
|
||||
|
||||
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