Detector
in package
setup メンテナンスメニュー(index.php)の Action。
ログイン(管理者パスワード照合・レート制限 W3)、ログアウト、各メンテナンスツールへの導線描画を担う。
インストール済み判定は InstalledGuardMiddleware(REQUIRE_INSTALLED)へ、セッション開始は
SessionMiddleware へ移した。描画は setup 専用 Twig(@setup/index/*.twig)。
Table of Contents
Constants
- LOGIN_LOCK_TIME = 15
- LOGIN_TRIAL_NUMBER = 5
- LOGIN_TRIAL_TIME = 5
Properties
Methods
- __construct() : mixed
- __invoke() : Response
- currentSystemVersion() : string
- loginAuth() : false|int
Constants
LOGIN_LOCK_TIME
private
mixed
LOGIN_LOCK_TIME
= 15
LOGIN_TRIAL_NUMBER
private
mixed
LOGIN_TRIAL_NUMBER
= 5
LOGIN_TRIAL_TIME
private
mixed
LOGIN_TRIAL_TIME
= 5
Properties
$session read-only
private
SetupSession
$session
Methods
__construct()
public
__construct(SetupSession $session) : mixed
Parameters
- $session : SetupSession
__invoke()
public
__invoke(Request $request) : Response
Parameters
- $request : Request
Return values
ResponsecurrentSystemVersion()
private
currentSystemVersion() : string
Return values
stringloginAuth()
private
loginAuth(string $id, string $pass) : false|int
Parameters
- $id : string
- $pass : string