Auth::setShowLogin() – controls if the login form will be displayed. Turned on by default


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.


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()

set a custom name for the Auth session variable (Previous) get the time up to the session is valid (Next)
Last updated: Thu, 26 Nov 2015 — 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.