fixed register account problem with sai - reload works

This commit is contained in:
Ulf Gebhardt 2015-08-04 05:02:25 +02:00
parent 058666836f
commit dc79bc9aeb

View File

@ -74,7 +74,7 @@ function init_saimod_sys_register(){
data: null,
success: function (dataCreate) {
if(dataCreate === 1){ // reload -> user will be loged in
window.location.href = location.href.replace(/#/g, "");
location.reload();
}else{ // show errors
alert('Not successfull: '+dataCreate);
}