Auth::setShowLogin()
Auth::setShowLogin() – controls if the login form will be displayed. Turned on by default
Synopsis
void Auth::setShowLogin (
bool $showLogin = true
)
Описание
Controls if the login page will be displayed to the user. Normally you might need to display the login form only on a certain page of your web application.
Parameter
-
boolean
$showLogin
-
true if you want to display the login form and false if you want to hide it.
Замечание
This function can not be called statically.
This is equivalent to the 4th paramether of Auth::Auth()