therecluse26 / PHP-Login

A login system built with PHP, MySQL, jQuery and Bootstrap
MIT License
836 stars 442 forks source link

Prevent misspelling of page credentials #159

Closed daniel-falk closed 6 years ago

daniel-falk commented 6 years ago

When specifying pagetype-variable it is easy to misspell "adminpage" or "superadminpage", in this case we do not want anonymous access to the page. Instead raise an exception so we won't miss it!

therecluse26 commented 6 years ago

Good call, thank you!