mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 14:45:50 +02:00
removed path use external
This commit is contained in:
@@ -89,8 +89,8 @@ $(document).ready(function() {
|
||||
app.previousUrl = url;
|
||||
return ajaxify.go('login');
|
||||
} else if (status === 302) {
|
||||
if (data.responseJSON.external && data.responseJSON.path) {
|
||||
window.location.href = data.responseJSON.path;
|
||||
if (data.responseJSON.external) {
|
||||
window.location.href = data.responseJSON.external;
|
||||
} else if (typeof data.responseJSON === 'string') {
|
||||
ajaxify.go(data.responseJSON.slice(1), callback, quiet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user