AdminLogin extends AppController
Administrative Login
Table of Contents
Methods
| confirmReset() | Confirm password reset |
| drop() | Handle step up authentication |
| index() | Handle login attempts |
| otp() | Handle otp requests |
| preAction() | Pre-action setup method that is called before the index method, or the set controller action |
| reset() | Reset password |
| setup() | Configure the first account in the system, sets/fetches/verifies license key |
| up() | Handle step up authentication |
| forwardPostAuth() | Finishes logging in the staff member and forwards the user off to the desired location |
| fullyInstalled() | Checks whether the system is fully installed |
| getAccountPublicKey() | The account public key |
| sendNotification() | Send a notification to Blesta |
Methods
confirmReset()
Confirm password reset
public
confirmReset() : mixed
drop()
Handle step up authentication
public
drop() : mixed
index()
Handle login attempts
public
index() : mixed
otp()
Handle otp requests
public
otp() : mixed
preAction()
Pre-action setup method that is called before the index method, or the set controller action
public
preAction() : mixed
reset()
Reset password
public
reset() : mixed
setup()
Configure the first account in the system, sets/fetches/verifies license key
public
setup() : mixed
up()
Handle step up authentication
public
up() : mixed
forwardPostAuth()
Finishes logging in the staff member and forwards the user off to the desired location
private
forwardPostAuth() : mixed
fullyInstalled()
Checks whether the system is fully installed
private
fullyInstalled() : bool
Return values
bool —True if the system is fully installed, false otherwise
getAccountPublicKey()
The account public key
private
getAccountPublicKey() : string
Return values
string —The public key
sendNotification()
Send a notification to Blesta
private
sendNotification(string $license_key, array<string|int, mixed> $staff) : mixed
Parameters
- $license_key : string
-
The license key
- $staff : array<string|int, mixed>
-
An array of key/value pairs representing the staff user