Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a25b6ae

Browse files
committed
emove forgot password and reset it
1 parent b8d82e4 commit a25b6ae

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

viewer/packages/lowcoder/src/constants/authConstants.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import {
22
AUTH_BIND_URL,
3-
AUTH_FORGOT_PASSWORD_URL,
43
AUTH_LOGIN_URL,
54
AUTH_REGISTER_URL,
6-
AUTH_RESET_PASSWORD_URL,
75
OAUTH_REDIRECT,
86
ORG_AUTH_LOGIN_URL,
97
ORG_AUTH_REGISTER_URL,
@@ -90,8 +88,6 @@ export const AuthRoutes: Array<{ path: string; component: React.ComponentType<an
9088
{ path: AUTH_LOGIN_URL, component: Login },
9189
{ path: AUTH_BIND_URL, component: ThirdPartyBindCard },
9290
{ path: AUTH_REGISTER_URL, component: UserRegister },
93-
{ path: AUTH_FORGOT_PASSWORD_URL, component: ForgotPassword },
94-
{ path: AUTH_RESET_PASSWORD_URL, component: ResetPassword },
9591
{ path: OAUTH_REDIRECT, component: AuthRedirect },
9692
{ path: ORG_AUTH_LOGIN_URL, component: Login },
9793
{ path: ORG_AUTH_REGISTER_URL, component: UserRegister },

viewer/packages/lowcoder/src/constants/routesURL.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export const APP_EDITOR_URL = `${ALL_APPLICATIONS_URL}/:applicationId/:viewMode/
3131
export const AUTH_BIND_URL = `${USER_AUTH_URL}/bind`;
3232
export const AUTH_LOGIN_URL = `${USER_AUTH_URL}/login`;
3333
export const AUTH_REGISTER_URL = `${USER_AUTH_URL}/register`;
34-
export const AUTH_FORGOT_PASSWORD_URL = `${USER_AUTH_URL}/forgot-password`;
35-
export const AUTH_RESET_PASSWORD_URL = `${USER_AUTH_URL}/lost-password`;
3634
export const QR_CODE_OAUTH_URL = `${USER_AUTH_URL}/oauth/qrcode`;
3735
export const OAUTH_REDIRECT = `${USER_AUTH_URL}/oauth/redirect`;
3836
export const CAS_AUTH_REDIRECT = `${USER_AUTH_URL}/cas/redirect`;

viewer/packages/lowcoder/src/pages/userAuth/formLogin.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ import { UserConnectionSource } from "@lowcoder-ee/constants/userConstants";
1515
import { trans } from "i18n";
1616
import { AuthContext, useAuthSubmit } from "pages/userAuth/authUtils";
1717
import { ThirdPartyAuth } from "pages/userAuth/thirdParty/thirdPartyAuth";
18-
import { AUTH_FORGOT_PASSWORD_URL, AUTH_REGISTER_URL, ORG_AUTH_REGISTER_URL } from "constants/routesURL";
18+
import { AUTH_REGISTER_URL, ORG_AUTH_REGISTER_URL } from "constants/routesURL";
1919
import { Link, useLocation, useParams } from "react-router-dom";
2020
import { Divider } from "antd";
21-
import Flex from "antd/es/flex";
2221

2322
const AccountLoginWrapper = styled(FormWrapperMobile)`
2423
display: flex;

0 commit comments

Comments
 (0)