issues
search
FACG4
/
nigerian-airlines
MIT License
0
stars
1
forks
source link
admin login to control panel
#27
Open
InassTubail
opened
6 years ago
InassTubail
commented
6 years ago
admin can login on the /admin route
use bcryptjs to hash the password and compare it with the secret to ensure security.
create a token using JWT
fetch the admin username and password from the database and compare it with the entered ones to verify the admin and login if it matched.
admin can login on the /admin route