Auth::setAllowLogin()

Auth::setAllowLogin() -- Controls if the user will be allowed to login. Turned on by default

Áttekintés

void Auth::setAllowLogin (bool $allowLogin = true)

Leírás

Controls if auth will process the post variables and attempt to login the user from those pages. For better security of your application it is recomended to disable login in all pages except your login page.

Paraméterek

boolean $allowLogin

If you want to allow login set this to TRUE otherwise set it to FALSE.

Megjegyzés

Ez a függvény nem hívható statikusan.

This method is available since 1.3.0