Skip to content

NORSUCMS/norsucms-2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruction

norsucms-2fa is a two-factor authentication script by email using PHP. This project also include multiple user login system (example: admin, manager, user and etc.)

Installation

Clone or download this repository and:

Import database file to your MySQL

DB/norsucms-2fa.sql

Edit your connection setting

includes/connect.php

Edit your mail setting

includes/sendmail.php

Usage

Just add user to users table and enjoy :)

Don't forget: this project include 2 user type. 1 = admin, 0 = user. You can increase user types.

id        =    don't import anything
name      =    your user name | example: Musa Abbasov
login     =    your email address | example: [email protected]
password  =    md5 encrypted password
role      =    1 or 0

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Releases

No releases published

Packages

No packages published

Languages