Skip to content
Two factor authentication with email using PHP
PHP CSS Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DB
assets
includes
user
.gitattributes
LICENSE
README.md
auth.php
autherror.php
index.php
settings.php

README.md

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: contact@norsucms.org
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

You can’t perform that action at this time.