Node.js based forum software built for the modern web
removed path use external
Barış Soner Uşaklı53e0615df79a
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 5e26619253..2392511386 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -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);}