Commit 7dff980d authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

login: fixed minor bug

parent e98b986b
......@@ -97,9 +97,9 @@ define([
$("#register-alert").fadeIn(100).render({alert: err.message});
$("#register-name").focus();
} else {
if (res.data.hash) {
if (res.hash) {
setTimeout(function() {
window.location.href = self.url.dynamic("password/" + res.data.hash);
window.location.href = self.url.dynamic("password/" + res.hash);
}, 1000);
} else {
$("#register-success").fadeIn(100);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment