BookStackApp/BookStack

View on GitHub
app/Access/Saml2Service.php

Summary

Maintainability
A
1 hr
Test Coverage

Method processLoginCallback has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function processLoginCallback(string $samlID, array $samlAttributes): User
    {
        $userDetails = $this->getUserDetails($samlID, $samlAttributes);
        $isLoggedIn = auth()->check();

Severity: Minor
Found in app/Access/Saml2Service.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status