redirect to the page after auth
This commit is contained in:
@ -64,7 +64,7 @@
|
||||
|
||||
xhr.onload = function() {
|
||||
if (xhr.status === 200) {
|
||||
location.href = '/';
|
||||
location.href = '/{{Page}}';
|
||||
} else if (xhr.status === 401) {
|
||||
alert('Неверный логин или пароль');
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user