mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-18 17:38:20 +02:00
Enforce Create form validation
This commit is contained in:
@@ -148,6 +148,10 @@ return [
|
||||
'secret' => [
|
||||
'required_without' => 'The :attribute field is required.',
|
||||
],
|
||||
'account' => [
|
||||
'required_without' => 'The :attribute field is required.',
|
||||
'regex' => 'The :attribute field must not contain colon.',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user