Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function rules(): array |
||
15 | { |
||
16 | return [ |
||
17 | // Do not validate `token` here since at this stage we can NOT generate viewable error, |
||
18 | // and it is been processed in the controller through EmailVerificationBroker anyway |
||
19 | //'token' => 'required|regex:/^([0-9a-f]*)$/', |
||
20 | 'email' => 'required|email|min:3|max:150|exists:'.config('cortex.auth.tables.members').',email', |
||
21 | ]; |
||
22 | } |
||
23 | |||
32 |