summaryrefslogtreecommitdiffstats
path: root/app/model/auth.mod.php (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27Add copyright notice to Scrott model filesMalf Furious1-0/+14
2016-02-06Update Auth model to reflect changes in previous commitMalf Furious1-15/+18
2016-02-01Implement 'login' action on Auth MVCMalf Furious1-0/+27
Finished initial functionality for Auth MVC by implementing the login feature
2016-01-31Log in on signup successMalf Furious1-0/+1
Now, on a successful submission of the signup view form (Auth MVC), the app automatically logs in the newly-created user and redirects to Framework::ap() . "/". Placeholder code has been added to the root controller to simply var_dump() the current logged in user if one exists, otherwise the login view (Auth MVC) is shown
2016-01-31Merge Auth MVC, initial_signup action into signupMalf Furious1-8/+4
There was a mistake that caused the page notice about no accounts existing to sometimes not showup in error. This merge resolves that issue as well as tidys up the code a bit.
2016-01-30Implement signup_submit action on Auth MVCMalf Furious1-0/+34
Submissions to the Auth signup page are now fully handled by either creating a new account (User object in the system) or posting an error message to the page (Auth model)
2016-01-28Finish signup and initialSignup actions on Auth MVCMalf Furious1-0/+15
If no accounts exist no login page will be shown. Instead, the app presents the signup page to allow the administrator to create his account. This is the only case where a new account should be an admin by default.
2016-01-26+ Added function to User class to fetch all users from DBMalf Furious1-0/+10
* Altered Auth MVC deflt action to return false if no users are found. This way, the Auth controller can automatically present user a page to create an admin account
2016-01-03+ Added model for Auth MVCMalf Furious1-0/+15