IgniterPasswd
class IgniterPasswd extends Command
Console command to change the password of an Admin user via CLI.
Adapted from october\system\console\OctoberPasswd
Properties
protected string | $name | ||
protected string | $description | ||
protected bool | $generatedPassword |
Methods
handle()
Execute the console command.
getArguments()
Get the console command options.
string
optionalSecret(string $question)
Prompt the user for input but hide the answer from the console.
string
generatePassword()
Generate a password and flag it as an automatically-generated password.
Details
at line 37
handle()
Execute the console command.
at line 64
protected
getArguments()
Get the console command options.
at line 81
protected string
optionalSecret(string $question)
Prompt the user for input but hide the answer from the console.
Also allows for a default to be specified.
at line 95
protected string
generatePassword()
Generate a password and flag it as an automatically-generated password.