Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 08:00:47 +02:00
parent ab7d002c95
commit 25bc508425

View file

@ -93,7 +93,8 @@ function changeDisplayname () {
displayname = document.getElementById("displayname");
username = document.getElementById("username");
if (!username.value) {
username.value = displayname.value.toLowerCase().replace(/[^A-z0-9.-]/g, '');
username.value = displayname.value;
changeUsername();
}
}
function changeUsername () {