0.8.40 change profile validation

This commit is contained in:
SDE
2023-12-15 15:46:46 +03:00
parent 65eccde487
commit 36fd9599af
2 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,9 @@ def get_phone_valid_error(val):
error_msg = _('Некорректные символы в номере телефона,<br> пример корректного ввода +7 925 8600100')
if not val:
return None
if len(val) < 10:
return error_msg