Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faculty login #1

Open
anto-christo opened this issue Jun 7, 2018 · 0 comments
Open

Faculty login #1

anto-christo opened this issue Jun 7, 2018 · 0 comments

Comments

@anto-christo
Copy link
Member

Necessary PHP files:

  1. login.php

Currently login.php handles all 3 types of login (student, faculty and admin). There is no need to change the php file, just send the login credentials to the php file. It will give a different response for each user type.

If you get this response, then only allow the user else reject.
$res = '{"res_type":"faculty","fac_name":"'.$fac_name.'"}';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant