NextDom\Helpers\AuthentificationHelper::login

    Signature

    public function login(string $login, string $password, [null $twoFactorCode = NULL] )

    Parameters

    $login — string
    $password — string
    $twoFactorCode — null

    Returns

    bool

    Errors/Exceptions

    Exception