Retouch to signin screen
This commit is contained in:
parent
93d8578d55
commit
c6496a6de8
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@
|
||||||
username = document.getElementById("username");
|
username = document.getElementById("username");
|
||||||
defaultdomain = document.getElementById("defaultdomain");
|
defaultdomain = document.getElementById("defaultdomain");
|
||||||
mail = document.getElementById("mail");
|
mail = document.getElementById("mail");
|
||||||
|
if (!username.value.includes("@")) {
|
||||||
|
username.value += "@" + defaultdomain.value;
|
||||||
|
}
|
||||||
mail.value = username.value + "@" + defaultdomain.value;
|
mail.value = username.value + "@" + defaultdomain.value;
|
||||||
}
|
}
|
||||||
document.getElementById("givenname").addEventListener("change", changeGivenNameOrSurname);
|
document.getElementById("givenname").addEventListener("change", changeGivenNameOrSurname);
|
||||||
|
|
Loading…
Reference in a new issue