Update register.js

This commit is contained in:
Janis M
2022-04-03 21:00:26 +02:00
parent 0b4f93f503
commit bc9a36e24a

View File

@@ -310,10 +310,11 @@ function submitForm(){
data : formObj,
success: function(data)
{
if(data == "0"){
window.location.href = "/login";
}else{
if(data != "0"){
handleError(data);
}else{
window.location.href = "/login"
}
},
error: function (jqXHR, textStatus, errorThrown)