Skip to content

Commit 231bdf8

Browse files
authored
docs: fix email rule for mobileLogin
1 parent c096fed commit 231bdf8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/guides/mobile_apps.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ class LoginController extends BaseController
2828
{
2929
// Validate credentials
3030
$rules = setting('Validation.login') ?? [
31-
'email' => [
32-
'label' => 'Auth.email',
33-
'rules' => config('Auth')->emailValidationRules,
34-
],
31+
'email' => config('Auth')->emailValidationRules,
3532
'password' => [
3633
'label' => 'Auth.password',
3734
'rules' => 'required',

0 commit comments

Comments
 (0)