Finalize login page!
This commit is contained in:
parent
d63624f607
commit
6d970a4cc3
10 changed files with 40 additions and 16 deletions
|
@ -43,15 +43,16 @@ Vue.i18n.add('en', Locales.en);
|
|||
Vue.i18n.set('en');
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes: [
|
||||
{
|
||||
name: 'login',
|
||||
path: '/',
|
||||
path: '/auth/login',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
name: 'forgot-password',
|
||||
path: '/forgot-password',
|
||||
path: '/auth/password',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
|
@ -61,7 +62,7 @@ const router = new VueRouter({
|
|||
},
|
||||
{
|
||||
name: 'reset-password',
|
||||
path: '/reset-password/:token',
|
||||
path: '/auth/password/reset/:token',
|
||||
component: ResetPassword,
|
||||
props: function (route) {
|
||||
return {
|
||||
|
|
Reference in a new issue