fix bug in register page which locks up the registration form

This commit is contained in:
ansuz 2018-04-12 14:33:47 +02:00
parent d0eeefc04c
commit a4674e40e1

View file

@ -256,7 +256,10 @@ define([
// logMeIn should reset registering = false
UI.removeLoadingScreen(function () {
UI.confirm(Messages.register_alreadyRegistered, function (yes) {
if (!yes) { return; }
if (!yes) {
hashing = false;
return;
}
proxy.login_name = uname;
if (!proxy[Constants.displayNameKey]) {