fix: normalize suggested username
oauth providers can be less strict Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
This commit is contained in:
parent
8324a7b4a7
commit
4960387174
@ -178,7 +178,7 @@ onBeforeMount(() => {
|
||||
const username = getValueFromMeta("auth-user-suggested-actor-username");
|
||||
const name = getValueFromMeta("auth-user-suggested-actor-name");
|
||||
if (username) {
|
||||
identity.value.preferredUsername = username;
|
||||
identity.value.preferredUsername = convertToUsername(username);
|
||||
}
|
||||
if (name) {
|
||||
identity.value.name = name;
|
||||
|
Loading…
Reference in New Issue
Block a user