preserve data stored in the hash when navigating to register from login
parent
0dedaa34cf
commit
4762cbf491
|
@ -70,7 +70,8 @@ define([
|
|||
if ($uname.val()) {
|
||||
localStorage.login_user = $uname.val();
|
||||
}
|
||||
window.location.href = '/register/';
|
||||
var hash = (window.location.hash || '').replace(/\/login\//, '/register/');
|
||||
window.location.href = '/register/' + hash;
|
||||
});
|
||||
|
||||
Test(function (t) {
|
||||
|
|
Loading…
Reference in New Issue