Add fallback authentication through Kerberos
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4c46386fff
commit
9807eeec1a
8 changed files with 132 additions and 5 deletions
|
@ -259,8 +259,12 @@ angular.module("AtsebaytApp")
|
|||
$location.url("/");
|
||||
}, function(response) {
|
||||
$scope.pleaseWait = false;
|
||||
if (response.data && response.data.errmsg)
|
||||
alert(response.data.errmsg);
|
||||
if (response.data)
|
||||
$scope.addToast({
|
||||
variant: "danger",
|
||||
title: "Connexion impossible",
|
||||
msg: (response.data ? response.data.errmsg : "Impossible de contacter le serveur"),
|
||||
});
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
Reference in a new issue