You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may use the phone number validation as any other validation rule:
21
+
22
+
```php
23
+
<?php
24
+
25
+
$request->validate([
26
+
'phone_number' => 'required|string|phone_number',
27
+
]);
28
+
29
+
```
30
+
31
+
If needed, you may customize the validation error message by adding an entry to the validation language file:
32
+
33
+
```php
34
+
'phone_number' => 'The phone number format is invalid.',
35
+
36
+
'accepted' => 'The :attribute must be accepted.',
37
+
38
+
// The rest of the validation error messages...
39
+
```
40
+
6
41
## Security Vulnerabilities
7
42
8
43
If you discover a security vulnerability within this project, please send an e-mail to Sander de Vos via [sander@tutanota.de](mailto:sander@tutanota.de). All security vulnerabilities will be promptly addressed.
0 commit comments