add success-feedback on user creation

This commit is contained in:
Yannik Schmidt
2021-08-31 00:37:02 +02:00
parent 71b19db624
commit aad0568f04
3 changed files with 10 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ function formSubmitFinished(event){
if(event.target.status < 200 || event.target.status >= 300){
showErrorMessage(event.target); // blocking
}else{
window.location.href = event.target.responseText
window.location.href = event.target.responseText + "?code=0"
}
}