diff --git a/src/_helpers/router.js b/src/_helpers/router.js index 35617d0..3335028 100644 --- a/src/_helpers/router.js +++ b/src/_helpers/router.js @@ -15,6 +15,7 @@ import LogoutPage from '../auth/LogoutPage' import ForgotPasswordPage from '../auth/ForgotPasswordPage' import MultifactorAuthPage from '../auth/MultifactorAuthPage' import AppLoginPage from '../auth/AppLoginPage' +import RestorePage from "../auth/RestorePage" import DashboardPage from '../account/DashboardPage' import ProfilePage from '../account/profile/ProfilePage' import ActionPage from '../account/profile/ActionPage' @@ -111,6 +112,7 @@ export const router = new Router({ { path: '/logout', component: LogoutPage }, { path: '/forgotPassword', component: ForgotPasswordPage }, { path: '/appLogin', component: AppLoginPage }, + { path: '/restore', component: RestorePage }, { path: '/admin/accounts', component: AccountsPage }, { path: '/admin/new_account', component: ProfilePage }, @@ -128,7 +130,7 @@ export const router = new Router({ }); const publicPages = [ - '/login', '/logout', '/register', '/appLogin', + '/login', '/logout', '/register', '/appLogin', '/restore', '/forgotPassword', '/resetPassword', '/action', '/auth', '/activate', '/legal' diff --git a/src/auth/LoginPage.vue b/src/auth/LoginPage.vue index 4893bb2..790cf34 100644 --- a/src/auth/LoginPage.vue +++ b/src/auth/LoginPage.vue @@ -1,85 +1,43 @@