mirror of
https://github.com/anonaddy/anonaddy.git
synced 2025-12-27 23:45:59 +00:00
Added ascii validation to emails
This commit is contained in:
parent
753ccea6b9
commit
4be5d0a513
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,3 +1,3 @@
|
||||
github: willbrowningme
|
||||
open_collective: anonaddy
|
||||
custom: https://anonaddy.com/donate
|
||||
custom: https://addy.io/donate
|
||||
@ -85,6 +85,8 @@ class RegisterController extends Controller
|
||||
'email' => [
|
||||
'bail',
|
||||
'required',
|
||||
'string',
|
||||
'ascii',
|
||||
'email:rfc,dns',
|
||||
'max:254',
|
||||
'confirmed',
|
||||
|
||||
@ -30,8 +30,9 @@ class StoreRecipientRequest extends FormRequest
|
||||
'bail',
|
||||
'required',
|
||||
'string',
|
||||
'ascii',
|
||||
'email:rfc,dns',
|
||||
'max:254',
|
||||
'email:rfc',
|
||||
new UniqueRecipient,
|
||||
new NotLocalRecipient,
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user