Implementing Activate User
This commit is contained in:
parent
ab7d002c95
commit
25bc508425
1 changed files with 2 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue