mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
login redirects back
This commit is contained in:
@@ -32,7 +32,12 @@
|
||||
$('#login-error-notify').show();
|
||||
} else {
|
||||
$('#login-error-notify').hide();
|
||||
window.location.replace(RELATIVE_PATH + "/?loggedin");
|
||||
//window.location.replace(RELATIVE_PATH + "/?loggedin");
|
||||
history.go(-1);
|
||||
//setTimeout(function(){
|
||||
app.loadConfig();
|
||||
//}, 500);
|
||||
//socket.emit('api:updateHeader');
|
||||
}
|
||||
},
|
||||
error: function(data, textStatus, jqXHR) {
|
||||
|
||||
Reference in New Issue
Block a user