From 6a62b0de659a138f5a5a1b206e6850611dd5b5a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Wed, 29 Sep 2021 10:26:00 +0200 Subject: [PATCH] Remove forgotten phone validation to prevent 500 when submitting the related form Bump the package number --- .../app/Http/Controllers/Account/AuthenticateController.php | 2 +- flexisip-account-manager.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flexiapi/app/Http/Controllers/Account/AuthenticateController.php b/flexiapi/app/Http/Controllers/Account/AuthenticateController.php index ccc2a2f..57b25ec 100644 --- a/flexiapi/app/Http/Controllers/Account/AuthenticateController.php +++ b/flexiapi/app/Http/Controllers/Account/AuthenticateController.php @@ -175,7 +175,7 @@ class AuthenticateController extends Controller public function authenticatePhone(Request $request) { $request->validate([ - 'phone' => 'required|starts_with:+|phone:AUTO', + 'phone' => 'required|starts_with:+', 'g-recaptcha-response' => 'required|captcha', ]); diff --git a/flexisip-account-manager.spec b/flexisip-account-manager.spec index cf34b39..fc163ca 100644 --- a/flexisip-account-manager.spec +++ b/flexisip-account-manager.spec @@ -8,7 +8,7 @@ #%define _datadir %{_datarootdir} #%define _docdir %{_datadir}/doc -%define build_number 103 +%define build_number 104 %define var_dir /var/opt/belledonne-communications %define opt_dir /opt/belledonne-communications/share/flexisip-account-manager