mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -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)
|
||||
{
|
||||
\Log::debug('Attempting to login via SAML');
|
||||
$saml = $this->saml;
|
||||
$samlData = $request->session()->get('saml_login');
|
||||
|
||||
if ($saml->isEnabled() && !empty($samlData)) {
|
||||
\Log::debug('SAML is enabled, and the samleData is not empty');
|
||||
|
||||
try {
|
||||
Log::debug("Attempting to log user in by SAML authentication.");
|
||||
$user = $saml->samlLogin($samlData);
|
||||
|
|
Loading…
Reference in a new issue