fix bug in register page which locks up the registration form

pull/1/head
ansuz 2018-04-12 14:33:47 +02:00
parent d0eeefc04c
commit a4674e40e1
1 changed files with 4 additions and 1 deletions

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]) {