$loginUrl public property
The URL for login when loginRequired() is called. If an array is given, yii\web\UrlManager::createUrl() will be called to create the corresponding URL. The first element of the array should be the route to the login action, and the rest of the name-value pairs are GET parameters used to construct the login URL. For example,
['site/login', 'ref' => 1]
If this property is null
, a 403 HTTP exception will be raised when loginRequired() is called.
Please login to continue.