Auth::setShowLogin()

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

Synopsis

void Auth::setShowLogin ( bool $showLogin = true )

Description

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.

Note

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: Fri, 28 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.