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
47
47
// like the password, can only be validated properly here.
48
48
$ rules = $ this ->getValidationRules ();
49
49
50
- if (! $ this ->validate ( $ rules )) {
50
+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
51
51
return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
52
52
}
53
53
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function loginAction()
65
65
{
66
66
// Validate email format
67
67
$ rules = $ this ->getValidationRules ();
68
- if (! $ this ->validate ( $ rules )) {
68
+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
69
69
return redirect ()->route ('magic-link ' )->with ('errors ' , $ this ->validator ->getErrors ());
70
70
}
71
71
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function registerAction(): RedirectResponse
100
100
// like the password, can only be validated properly here.
101
101
$ rules = $ this ->getValidationRules ();
102
102
103
- if (! $ this ->validate ( $ rules )) {
103
+ if (! $ this ->validateData ( $ this -> request -> getPost (), $ rules )) {
104
104
return redirect ()->back ()->withInput ()->with ('errors ' , $ this ->validator ->getErrors ());
105
105
}
106
106
You can’t perform that action at this time.
0 commit comments