File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function loginAction(): RedirectResponse
4747 // like the password, can only be validated properly here.
4848 $ rules = $ this ->getValidationRules ();
4949
50- if (! $ this ->validate ( $ rules )) {
50+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
5151 return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
5252 }
5353
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function loginAction()
6565 {
6666 // Validate email format
6767 $ rules = $ this ->getValidationRules ();
68- if (! $ this ->validate ( $ rules )) {
68+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
6969 return redirect ()->route ('magic-link ' )->with ('errors ' , $ this ->validator ->getErrors ());
7070 }
7171
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function registerAction(): RedirectResponse
100100 // like the password, can only be validated properly here.
101101 $ rules = $ this ->getValidationRules ();
102102
103- if (! $ this ->validate ( $ rules )) {
103+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
104104 return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
105105 }
106106
You can’t perform that action at this time.
0 commit comments