Skip to content

Commit

Permalink
Version 5.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 committed Oct 17, 2024
1 parent e268da2 commit 32038d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/forms/phone_number.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</span>
<div class="sp-dropdown sp-right-0 md:sp-right-auto">
<ul class="sp-text-right md:sp-text-left">
{% if number|default is not empty and canVerify and not number.is_verified %}
{% if number|default is not empty and not number.is_verified and verifyDriver is not empty and verifyDriver.canVerify(number.number) %}
<li>
<a class="sp-verify-number" data-id="{{ number.id }}" data-route="{{ route('user.profile.phone.send_confirmation_code') }}" data-verify-route="{{ route('user.profile.phone.verify_confirmation_code') }}">
{{ Lang.get('user.verify_phone_number') }}
Expand All @@ -28,7 +28,7 @@
</div>
</div>

{% if number|default is not empty and canVerify and not number.is_verified %}
{% if number|default is not empty and not number.is_verified and verifyDriver is not empty and verifyDriver.canVerify(number.number) %}
<div class="sp-number-not-verified sp-flex-none sp-relative sp-p-2 sp-pr-0 sp-text-orange-600">
<i class="fa-fw fa-solid fa-exclamation-circle" title="{{ Lang.get('general.not_verified') }}"></i>
</div>
Expand Down

0 comments on commit 32038d5

Please sign in to comment.