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 username = getValueFromMeta("auth-user-suggested-actor-username");
|
||||||
const name = getValueFromMeta("auth-user-suggested-actor-name");
|
const name = getValueFromMeta("auth-user-suggested-actor-name");
|
||||||
if (username) {
|
if (username) {
|
||||||
identity.value.preferredUsername = username;
|
identity.value.preferredUsername = convertToUsername(username);
|
||||||
}
|
}
|
||||||
if (name) {
|
if (name) {
|
||||||
identity.value.name = name;
|
identity.value.name = name;
|
||||||
|
|
Loading…
Reference in New Issue