Task #17 - Created login page added to routing and replaced name mentions with app_name token

This commit is contained in:
2020-02-07 23:36:39 -06:00
parent e5f3410b8b
commit b4d16d764e
5 changed files with 71 additions and 4 deletions

View File

@@ -26,7 +26,6 @@ const index = {
* handler's exec() method.
*/
middleware: [
['HomeLogger', {note: 'arguments can be specified as the second element in this array'}],
// 'MiddlewareName', // Or without arguments
],
@@ -46,6 +45,7 @@ const index = {
// Placeholder for auth dashboard. You'd replace this with
// your own route protected by 'middleware::auth:UserOnly'
'/dash': [ 'controller::Home.welcome' ],
'/login': [ 'middleware::auth:GuestOnly', 'controller::Home.get_login' ],
},
/*