Auth::setAllowLogin()

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

Synopsis

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

Description

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.

Parameter

boolean $allowLogin

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

Note

This function can not be called statically.

This method is available since 1.3.0

Enables advanced security features. Turned off by default (Previous) set a specific user to be marked as logged in (Next)
Last updated: Wed, 26 Nov 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.