Skip to content

Commit

Permalink
Merge pull request #36 from paulredmond/scaffold-password-confirm
Browse files Browse the repository at this point in the history
Add auth.passwords.confirm to exported views
  • Loading branch information
driesvints authored Oct 9, 2019
2 parents 35837d4 + c973956 commit 837f10d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AuthCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class AuthCommand extends Command
*/
protected $views = [
'auth/login.stub' => 'auth/login.blade.php',
'auth/passwords/confirm.stub' => 'auth/passwords/confirm.blade.php',
'auth/passwords/email.stub' => 'auth/passwords/email.blade.php',
'auth/passwords/reset.stub' => 'auth/passwords/reset.blade.php',
'auth/register.stub' => 'auth/register.blade.php',
Expand All @@ -49,7 +50,7 @@ public function handle()
if (static::hasMacro($this->argument('type'))) {
return call_user_func(static::$macros[$this->argument('type')], $this);
}

if (! in_array($this->argument('type'), ['bootstrap'])) {
throw new InvalidArgumentException('Invalid preset.');
}
Expand Down

0 comments on commit 837f10d

Please sign in to comment.