User/Session Handling & secure Actions
- Implemented Session System (used @evantahler 's session blog post for AH)
- Added user/session handling in dashboard
- Default user admin/admin is created at startup
- Session duration is defaultly set to 1h
- Added user management page in dashboard
- Secured all actions to execute only if user is authenticated
- re-modularized angular app structure in dashboard
If a User opens the dashboard now he sees a login screen :
... wrong password or username is handled too:
At the dashboard the new page "Users" is available to manage user accounts:
At the top left the "Admin" is now the current username and the Logout button is now available too: