mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-24 03:45:24 +02:00
Refactor Auth controllers : thicker, with Form requests & API resource
This commit is contained in:
@@ -15,7 +15,6 @@ return [
|
||||
|
||||
'resource_not_found' => 'Resource not found',
|
||||
'error_occured' => 'An error occured:',
|
||||
'already_one_user_registered' => 'There is already a registered user.',
|
||||
'cannot_register_more_user' => 'You cannot register more than one user.',
|
||||
'refresh' => 'Refresh',
|
||||
'no_valid_otp' => 'No valid OTP resource in this QR code',
|
||||
|
@@ -162,6 +162,9 @@ return [
|
||||
'ids' => [
|
||||
'regex' => 'IDs must be comma separated, without trailing comma.',
|
||||
],
|
||||
'name' => [
|
||||
'firstUser' => 'There is already a registered user',
|
||||
]
|
||||
],
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user