mirror of
https://github.com/docmost/docmost.git
synced 2026-07-09 23:54:36 +10:00
8cd4b25dbc
- Add TOTP-based two-factor authentication - Add backup codes support - Add MFA enforcement at workspace level - Add MFA setup and challenge UI pages - Support MFA for login and password reset flows - Add MFA validation for secure pages
31 lines
756 B
TypeScript
31 lines
756 B
TypeScript
const APP_ROUTE = {
|
|
HOME: "/home",
|
|
AUTH: {
|
|
LOGIN: "/login",
|
|
SIGNUP: "/signup",
|
|
SETUP: "/setup/register",
|
|
FORGOT_PASSWORD: "/forgot-password",
|
|
PASSWORD_RESET: "/password-reset",
|
|
CREATE_WORKSPACE: "/create",
|
|
SELECT_WORKSPACE: "/select",
|
|
MFA_CHALLENGE: "/login/mfa",
|
|
MFA_SETUP_REQUIRED: "/login/mfa/setup",
|
|
},
|
|
SETTINGS: {
|
|
ACCOUNT: {
|
|
PROFILE: "/settings/account/profile",
|
|
PREFERENCES: "/settings/account/preferences",
|
|
},
|
|
WORKSPACE: {
|
|
GENERAL: "/settings/workspace",
|
|
MEMBERS: "/settings/members",
|
|
GROUPS: "/settings/groups",
|
|
SPACES: "/settings/spaces",
|
|
BILLING: "/settings/billing",
|
|
SECURITY: "/settings/security",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default APP_ROUTE;
|