Redirect to the pad when logging in or signing up from a pad
This commit is contained in:
@@ -465,9 +465,11 @@ define([
|
||||
window.location.href = '/';
|
||||
});
|
||||
$userAdmin.find('a.login').click(function (e) {
|
||||
sessionStorage.redirectTo = window.location.href;
|
||||
window.location.href = '/login/';
|
||||
});
|
||||
$userAdmin.find('a.register').click(function (e) {
|
||||
sessionStorage.redirectTo = window.location.href;
|
||||
window.location.href = '/register/';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user