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
|
github: willbrowningme
|
||||||
open_collective: anonaddy
|
open_collective: anonaddy
|
||||||
custom: https://anonaddy.com/donate
|
custom: https://addy.io/donate
|
||||||
@ -85,6 +85,8 @@ class RegisterController extends Controller
|
|||||||
'email' => [
|
'email' => [
|
||||||
'bail',
|
'bail',
|
||||||
'required',
|
'required',
|
||||||
|
'string',
|
||||||
|
'ascii',
|
||||||
'email:rfc,dns',
|
'email:rfc,dns',
|
||||||
'max:254',
|
'max:254',
|
||||||
'confirmed',
|
'confirmed',
|
||||||
|
|||||||
@ -30,8 +30,9 @@ class StoreRecipientRequest extends FormRequest
|
|||||||
'bail',
|
'bail',
|
||||||
'required',
|
'required',
|
||||||
'string',
|
'string',
|
||||||
|
'ascii',
|
||||||
|
'email:rfc,dns',
|
||||||
'max:254',
|
'max:254',
|
||||||
'email:rfc',
|
|
||||||
new UniqueRecipient,
|
new UniqueRecipient,
|
||||||
new NotLocalRecipient,
|
new NotLocalRecipient,
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user