Working login form with password reset functionality.

This commit is contained in:
Dane Everitt 2018-04-08 15:18:13 -05:00
parent c3e462ab2f
commit d63624f607
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
21 changed files with 232 additions and 324 deletions

View file

@ -11,6 +11,7 @@ import Locales from './../../../../resources/lang/locales';
// Base Vuejs Templates
import Login from './components/auth/Login';
import ResetPassword from './components/auth/ResetPassword';
// Used for the route() helper.
window.Ziggy = Ziggy;
@ -58,6 +59,17 @@ const router = new VueRouter({
path: '/checkpoint',
component: Login,
},
{
name: 'reset-password',
path: '/reset-password/:token',
component: ResetPassword,
props: function (route) {
return {
token: route.params.token,
email: route.query.email || '',
}
},
}
]
});