02-03-2019, 03:00 PM
1. I believe it is users/admin_verify.php, which is usually something that has admin only access.
2. To explain 2 and 3 together, if a regular user is logged in and does not have permission to view a page, they should be redirected to users/account.php by default. Sorry, I should know that off the top of my head, but I didn't I'm coding another project at the moment and didn't have time to check.
So, the big question is, does the user that is being redirected, have the proper permissions to visit account.php? If not, they will wind up in a redirect loop.
2. To explain 2 and 3 together, if a regular user is logged in and does not have permission to view a page, they should be redirected to users/account.php by default. Sorry, I should know that off the top of my head, but I didn't I'm coding another project at the moment and didn't have time to check.
So, the big question is, does the user that is being redirected, have the proper permissions to visit account.php? If not, they will wind up in a redirect loop.