File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
app/Http/Controllers/Auth
resources/themes/pterodactyl/auth/passwords Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ public function __construct()
4646 protected function rules ()
4747 {
4848 return [
49- 'token ' => 'required ' , 'email ' => 'required|email ' ,
49+ 'token ' => 'required ' ,
50+ 'email ' => 'required|email ' ,
5051 'password ' => 'required|confirmed| ' . User::PASSWORD_RULES ,
5152 ];
5253 }
Original file line number Diff line number Diff line change 2525
2626@section (' content' )
2727<div class =" login-box-body" >
28+ @if (count ($errors ) > 0 )
29+ <div class =" callout callout-danger" >
30+ <button type =" button" class =" close" data-dismiss =" alert" aria-label =" Close" ><span aria-hidden =" true" >× ; </span ></button >
31+ @lang (' auth.auth_error' )<br ><br >
32+ <ul >
33+ @foreach ($errors -> all () as $error )
34+ <li >{{ $error } } </li >
35+ @endforeach
36+ </ul >
37+ </div >
38+ @endif
2839 <p class =" login-box-msg" >@lang (' auth.reset_password_text' )</p >
2940 <form action =" {{ route (' auth.reset.post' ) } }" method =" POST" >
3041 <div class =" form-group" >
You can’t perform that action at this time.
0 commit comments