Add fallback authentication through Kerberos
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2021-09-22 17:02:30 +02:00
parent 4c46386fff
commit 9807eeec1a
8 changed files with 132 additions and 5 deletions

View file

@ -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"),
});
});
}
})