mariofont / PHP-Login

Simple, easy-to-use, and database-free login system.
48 stars 33 forks source link

Refactor to support multiple users #11

Closed andrewwoods closed 2 years ago

andrewwoods commented 2 years ago

Code is untested. I recommend you create some unit tests to exercise the Login class. hope this helps. Thie idea is to keep login logic separate from the templates. Ideally this login logic would be moved to a controller, but you gotta start somewhere. :)