forked from potsda.mn/mobilizon
Merge branch 'fix/normalize-suggested-username' into 'main'
fix: normalize suggested username See merge request framasoft/mobilizon!1457
This commit is contained in:
commit
6797ceea4b
|
@ -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 a new issue