-
Type: Sub-task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.15 swallows
-
Fix Version/s: 0.16 swallows
A form that allows to input a username and the password should appear. At the moment users don't have an ability to create accounts, so we need only to check whether there is such a user in our database, if there is, we need to authenticate and authorize him no matter what password he specified.
- All the pages should be secured and if the user is not authenticated, he should be redirected to log in page.
- If user specified a name that is absent in our database, then an error should appear 'Username or password is wrong, try once again'.
- If user specified correct username, he should be able to see the main admin page and to click on any menu item.
Take a look at malina project that contains similar functionality for the reference.