Auth::setIdle()
Описание
With this function one can set the maximum idle time to a new value. The term "idle time" describes the maximum time interval (in seconds) between two actions by the user. If the maximum idle time is reached, the user will be automatically logged out. If on the other hand the user performs any action within the maximum idle time interval, the idle time is reset.
Параметр
- integer $time
idle time in seconds
- boolean $add
if TRUE $time is added to the existing idle time, if FALSE the existing time value will be replaced.
Пред. | Начало | След. |
Auth::setFailedLoginCallback() | Уровень выше | Auth::setLoginCallback() |