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:
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
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.


