File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,17 +127,6 @@ class Auth extends BaseConfig
127127 'tokens ' ,
128128 ];
129129
130- /**
131- * --------------------------------------------------------------------
132- * Login validation rules
133- * --------------------------------------------------------------------
134- * Returns the rules that should be used for user login validation.
135- */
136- public array $ loginRules = [
137- 'email ' => 'required|valid_email|max_length[254] ' ,
138- 'password ' => 'required ' ,
139- ];
140-
141130 /**
142131 * --------------------------------------------------------------------
143132 * Allow Registration
@@ -234,6 +223,18 @@ class Auth extends BaseConfig
234223 'username ' ,
235224 ];
236225
226+ /**
227+ * --------------------------------------------------------------------
228+ * Login validation rules
229+ * --------------------------------------------------------------------
230+ * Returns the rules that should be used for user login validation.
231+ */
232+ public array $ loginRules = [
233+ // 'username' => 'required|max_length[30]|alpha_numeric_space|min_length[3]',
234+ 'email ' => 'required|valid_email|max_length[254] ' ,
235+ 'password ' => 'required ' ,
236+ ];
237+
237238 /**
238239 * --------------------------------------------------------------------
239240 * Additional Fields for "Nothing Personal"
Original file line number Diff line number Diff line change @@ -54,8 +54,6 @@ public function loginAction(): RedirectResponse
5454
5555 /**
5656 * Logs the current user out.
57- *
58- * @return RedirectResponse
5957 */
6058 public function logoutAction (): RedirectResponse
6159 {
You can’t perform that action at this time.
0 commit comments