Auth::setAdvancedSecurity() (Previous) (Next) Auth::setAuth()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::setAllowLogin()

Auth::setAllowLogin() -- ユーザがログイン可能かどうかを制御する。デフォルトではオンになっている

説明

Auth が POST 変数を処理し、ユーザのログイン処理を行うかどうかを制御します。 セキュリティ向上のため、ログインページ以外のすべてのページでは ログイン機能を無効にしておくことを推奨します。

パラメータ

boolean $allowLogin

ログインを有効にしたい場合は TRUE、それ以外は FALSE を指定します。

注意

この関数は、スタティックにコールする ことはできません。

このメソッドは 1.3.0 以降で使用可能です。

Auth::setAdvancedSecurity() (Previous) (Next) Auth::setAuth()

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.