Reduce logging further; we know the main error condition now
This commit is contained in:
parent
4e65a8d755
commit
b4a0d33ba8
1 changed files with 0 additions and 3 deletions
|
@ -104,15 +104,12 @@ 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.');
|
|
||||||
$user = $saml->samlLogin($samlData);
|
$user = $saml->samlLogin($samlData);
|
||||||
|
|
||||||
if (!is_null($user)) {
|
if (!is_null($user)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue