mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 01:38:12 +00:00
1 parent
6a3a619f09
commit
5cac669604
1 file changed
+2
-2
@@ -312,7 +312,7 @@
|
||||
if ($window.usesCASAuthentication && rejection.status == -1) {
|
||||
if ($window.attempted) {
|
||||
// Already attempted once -- reload page
|
||||
$window.location.reload(true);
|
||||
$window.location.href = $window.ApplicationBaseURL;
|
||||
}
|
||||
else {
|
||||
deferred = $q.defer();
|
||||
@@ -330,7 +330,7 @@
|
||||
}
|
||||
else if ($window.usesSAML2Authentication && rejection.status == 401 && !$window.attempted) {
|
||||
$window.attempted = true;
|
||||
$window.location.reload(true);
|
||||
$window.location.href = $window.ApplicationBaseURL;
|
||||
}
|
||||
else {
|
||||
// Broadcast the response error
|
||||
|
||||
Reference in new issue
Block a user