The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email vs Mobile Phone Verification
#1
So I'm trying to get users registered and verified using either their email or phone number. Two things I'm wondering what direction to go depending on UserSpice design:

1- Should I just store the user's mobile number under "username" and set the below in User.php and build a separate path for verification?
if(is_numeric($user)){
$field = 'username';

2- Store the user's mobile number under "email" and build additional logic on top of the existing email verification code that uses a SMS API, instead of email, to verify the mobile?

What route would you guys go? I guess if we wanted to properly store values, I would go for a 3rd option to store the mobile phone under "billing_phone" and just build everything required for that from scratch... But trying to keep it simple here.


  Reply


Messages In This Thread
Email vs Mobile Phone Verification - by venedude - 11-24-2016, 04:50 AM
Email vs Mobile Phone Verification - by Trioxin - 11-28-2016, 12:16 AM
Email vs Mobile Phone Verification - by mudmin - 11-28-2016, 02:15 PM
Email vs Mobile Phone Verification - by venedude - 12-01-2016, 04:01 PM
Email vs Mobile Phone Verification - by mudmin - 12-01-2016, 04:11 PM
Email vs Mobile Phone Verification - by Trioxin - 12-04-2016, 09:14 PM
Email vs Mobile Phone Verification - by Trioxin - 12-04-2016, 09:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)