You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.'"}';
The text was updated successfully, but these errors were encountered:
Necessary PHP files:
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.'"}';
The text was updated successfully, but these errors were encountered: