Info


Two Factor Email Authentication

Email Login & Registration via Password & OTP.

Author : yupok

Create Date : 20-04-2020

Support : yupokteam@gmail.com

Overview


TwoFactor Authentication is a complete and responsive feature with Login & Registration for your online business. This will help your customers to easy Login or Registration with Password & OTP. OTP verification adds an extra layer security.

This feature has an attractive front end and back end interface that are really awesome and eyecatching. Almost all kinds of changes are possible to do using the admin panel without having any kind or programming language knowledge.

It is built using the procedural php (with PDO feature) and without any framework. For this reason, it can be customized easily by most of the developers and create own websites with this awesome feature.

Security : It is protected against SQL injection, XSS and other attack and your website will be safe.

Features


  • Activate/Deactivate User with Single Click.
  • Live Search User
  • Update Admin Credentials.
  • Login with Password & OTP on Email.
  • Registration with Password & OTP on Email.
  • Recover Password via OTP.
  • Strong Password Validation.
  • Update Name & Address.
  • Update Email via OTP after Login.
  • Update New Password via OTP, No need to remember Old Password.
  • Deactivated User cannot Login, If User logged in, Automatically logout from website when click on any option

Requirements


Before starting to install, make sure you fulfill the following requirements:
  • For Local Server installation, This script will not work in Localhost.
  • You can use this script on any Live Server.
  • Required PHP version in server >= 5.4.
  • PDO & Mail must be enabled in the server.

Configuration


Note:This is very important, Please follow all the instructions carefully otherwise Script will not work.
  • Step :1) Go to uploads folder in which zip file named twofactoremail and then extract it.
  • Click on the image to view
  • Step :2) After Extracting you will get twofactoremail Folder.
  • Click on the image to view
  • Step :3) Open twofactoremail Folder, You will see all the script files & folders.
  • Click on the image to view
  • Step :4) Open admin Folder, where you see db folder.
  • Click on the image to view
  • Step :5) Open db Folder, where you see config.php file.
  • Step :6) Open config.php file with any text editor like Notepad++, Dreamweaver, etc.
  • Click on the image to view
  • Step :7)config.php file contains very important configuration settings. You must have to edit those properly.
    • Hostname:This is your database hostname.
    • Database Name :This is your database name.
    • Database Username:This is your Username for the database you created.
    • Database Password:This is your Password for the database you created.
  • Click on the image to view

Admin Details


After you setup the script successfully on your web server, you can login to the admin panel using the information below:
  • Email:no-reply@yupok.com
  • Password:123456
  • You can change admin details anytime. After you login click on the bottom of setting icon.
  • Click on the image to view

Activate / Deactivate User


  • Search User Name/Email/Anything which you want to Activate/Deactivate.
  • Click on Active/Deactivate.
  • A pop up shows which ask you Do you want to change User Status click yes and you are done.
  • Deactivated User cannot Login, If User logged in, Automatically logout from website when click on any option
  • Anytime you can change status of Customer i.e. Active or Deactive.

Update Admin Details


Clicking on Setting Icon on the Bottom a page appears where Admin can change their Name, Email & Password
  • Note: Old Password is mandatory to Update anything.

User Registration


  • Fill all the details and click on SignUp.
  • User redirect on that page where user Email will show and must have to verify OTP.
  • After verification of OTP user successfully registered and redirect on Dashboard.
  • Note: Validating Email before Registration whether its Regsitered or not or deactive by admin.

User Login


Login via Password & OTP.
  • Enter Email & Password & OTP will delivered to your Email.
  • After User verifies OTP successfully they redirect on to the Dashboard.

Update User Details


User can update their details by Clicking on Manage Details Option.
  • After fill all the details just click on Save button.

Update User Email


User can update their Mobile by Clicking on Manage Email Option.
  • If Email is already registered it shows an Error.
  • If Email is not registered OTP will deliver to Email & Verify that. After verification Users Email will be updated.

Update User Password


Sometimes user saves the password in browser, so we used verification of OTP that adds an extra layer security to users. No need to remember Old Password.
  • Registered Email shows on Update Password Page press Continue.
  • An OTP delivered to Email, after successfully verification a page will appear for change the password.

Forgot Password


Forgot password option is Upperhand for your website.
  • Just Click on Forgot Password Link on Login Page.
  • Enter Registered Email.
  • Verify OTP.
  • Enter New Password and Done.

Copyright © yupok


You are not allowed to use this documentation template for your personal or commercial or any other purposes.