mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Allow whitespaces in the IsNotPhoneNumber validation rule
This commit is contained in:
parent
e6ead8923c
commit
5e377a2b84
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ class IsNotPhoneNumber implements Rule
|
|||
{
|
||||
public function passes($attribute, $value): bool
|
||||
{
|
||||
return (Validator::not(Validator::phone())->not(Validator::startsWith('+'))->noWhitespace()->validate($value));
|
||||
return (Validator::not(Validator::phone())->not(Validator::startsWith('+'))->validate($value));
|
||||
}
|
||||
|
||||
public function message()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 134
|
||||
%define build_number 135
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue