Mandatory phone number verification

Created on 21 February 2019, almost 6 years ago
Updated 3 February 2024, 11 months ago

Feature:
Add a [Force phone number verification] checkbox on the admin UI which will allow admins (by enabling the checkbox) to force the logged in user to verify his phone number by redirecting him to "/verify" page on every page load.

use case:
Non-verified phone number users are not allowed to use the website and surf its pages until the phone number is verified!

(3 of projects I am working on asked me for such feature which totally make sense to forbid a user from using the website if his phone number is not yet verified!

Thank you for your consideration

✨ Feature request
Status

Needs review

Version

2.0

Component

SMS User

Created by

πŸ‡±πŸ‡§Lebanon C.E.A

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

    this does not work with 2.2-dev
    With 2.2 and Drupal 10 I get: Drupal\sms\EventSubscriber\UserPhoneNumberVerificationMandatory::checkForCurrentUserMandatoryPhoneNumber(): Argument #1 ($event) must be of type Symfony\Component\HttpKernel\Event\GetResponseEvent, Symfony\Component\HttpKernel\Event\RequestEvent given in Drupal\sms\EventSubscriber\UserPhoneNumberVerificationMandatory->checkForCurrentUserMandatoryPhoneNumber() (line 97 of modules/contrib/smsframework/src/EventSubscriber/UserPhoneNumberVerificationMandatory.php).

  • πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru
  • Status changed to Needs review 11 months ago
  • πŸ‡―πŸ‡΄Jordan Anas_maw

    Here is an updated patch to work on the latest 2.2

Production build 0.71.5 2024