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

Auth::setSessionName() (Previous) Auth::sessionValidThru() (Next)
Last updated: Tue, 02 Jun 2009 — 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.