diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub
index 3e9d6f7791b7..8a1cc6d52502 100644
--- a/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub
+++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub
@@ -17,11 +17,11 @@
- @if ($errors->has('email'))
+ @error('email')
{{ $errors->first('email') }}
- @endif
+ @enderror
@@ -31,11 +31,11 @@
- @if ($errors->has('password'))
+ @error('password')
{{ $errors->first('password') }}
- @endif
+ @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub
index 15ee4e4245f0..6553b89bd31d 100644
--- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub
+++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/email.stub
@@ -23,11 +23,11 @@
- @if ($errors->has('email'))
+ @error('email')
{{ $errors->first('email') }}
- @endif
+ @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub
index f0cc401a08b5..ef385e005ccd 100644
--- a/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub
+++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub
@@ -19,11 +19,11 @@
- @if ($errors->has('email'))
+ @error('email')
{{ $errors->first('email') }}
- @endif
+ @enderror
@@ -33,11 +33,11 @@
- @if ($errors->has('password'))
+ @error('password')
{{ $errors->first('password') }}
- @endif
+ @enderror
diff --git a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub
index 92c416ea2cf0..5bdf2f5263e1 100644
--- a/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub
+++ b/src/Illuminate/Auth/Console/stubs/make/views/auth/register.stub
@@ -17,11 +17,11 @@
- @if ($errors->has('name'))
+ @error('name')
{{ $errors->first('name') }}
- @endif
+ @enderror
@@ -31,11 +31,11 @@
- @if ($errors->has('email'))
+ @error('email')
{{ $errors->first('email') }}
- @endif
+ @enderror
@@ -45,11 +45,11 @@
- @if ($errors->has('password'))
+ @error('password')
{{ $errors->first('password') }}
- @endif
+ @enderror