This commit is contained in:
barisusakli
2015-09-11 22:50:09 -04:00
parent dd5a8e8a88
commit 9361ff0772
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ $(document).ready(function() {
app.alertError('[[global:please_log_in]]');
app.previousUrl = url;
return ajaxify.go('login');
} else if (status === 302) {
} else if (status === 302 || status === 308) {
if (data.responseJSON.external) {
window.location.href = data.responseJSON.external;
} else if (typeof data.responseJSON === 'string') {