mirror of
https://github.com/FAUSheppy/jeffrey_miller_flask_ftp
synced 2025-12-07 08:01:35 +01:00
add success-feedback on user creation
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user