Skip to content

Commit 837f10d

Browse files
authored
Merge pull request #36 from paulredmond/scaffold-password-confirm
Add auth.passwords.confirm to exported views
2 parents 35837d4 + c973956 commit 837f10d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AuthCommand.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class AuthCommand extends Command
3131
*/
3232
protected $views = [
3333
'auth/login.stub' => 'auth/login.blade.php',
34+
'auth/passwords/confirm.stub' => 'auth/passwords/confirm.blade.php',
3435
'auth/passwords/email.stub' => 'auth/passwords/email.blade.php',
3536
'auth/passwords/reset.stub' => 'auth/passwords/reset.blade.php',
3637
'auth/register.stub' => 'auth/register.blade.php',
@@ -49,7 +50,7 @@ public function handle()
4950
if (static::hasMacro($this->argument('type'))) {
5051
return call_user_func(static::$macros[$this->argument('type')], $this);
5152
}
52-
53+
5354
if (! in_array($this->argument('type'), ['bootstrap'])) {
5455
throw new InvalidArgumentException('Invalid preset.');
5556
}

0 commit comments

Comments
 (0)