wip
This commit is contained in:
@@ -81,7 +81,7 @@ class User extends Resource
|
|||||||
|
|
||||||
Text::make(__('Username'), 'username')
|
Text::make(__('Username'), 'username')
|
||||||
->sortable()
|
->sortable()
|
||||||
->rules('required', 'string', new OnlyLetters(), 'max:250')
|
->rules('required', 'string', 'alpha_dash:ascii', 'max:250')
|
||||||
->creationRules('unique:users,username')
|
->creationRules('unique:users,username')
|
||||||
->updateRules('unique:users,username,{{resourceId}}'),
|
->updateRules('unique:users,username,{{resourceId}}'),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user