Skip to content

Commit

Permalink
remove rule for username on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkrenek committed Jun 24, 2023
1 parent 0c823d7 commit 6b1f50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Builtin/Auth/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getWidgets(): array
Inputs\Input::make('username')
->label(__('admin::forms.username'))
->placeholder(__('admin::forms.placeholders.email'))
->rules(['required', 'exists:admin_users']),
->rules(['required']),
Inputs\Input::make('password')
->label(__('admin::forms.password'))
->placeholder(__('admin::forms.placeholders.password'))
Expand Down

0 comments on commit 6b1f50f

Please sign in to comment.