mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
More SAML debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f572eaa421
commit
f4e737eaf3
|
@ -110,9 +110,13 @@ class LoginController extends Controller
|
||||||
*/
|
*/
|
||||||
private function loginViaSaml(Request $request)
|
private function loginViaSaml(Request $request)
|
||||||
{
|
{
|
||||||
|
\Log::debug('Attempting to login via SAML');
|
||||||
$saml = $this->saml;
|
$saml = $this->saml;
|
||||||
$samlData = $request->session()->get('saml_login');
|
$samlData = $request->session()->get('saml_login');
|
||||||
|
|
||||||
if ($saml->isEnabled() && !empty($samlData)) {
|
if ($saml->isEnabled() && !empty($samlData)) {
|
||||||
|
\Log::debug('SAML is enabled, and the samleData is not empty');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Log::debug("Attempting to log user in by SAML authentication.");
|
Log::debug("Attempting to log user in by SAML authentication.");
|
||||||
$user = $saml->samlLogin($samlData);
|
$user = $saml->samlLogin($samlData);
|
||||||
|
|
Loading…
Reference in a new issue