File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed
viewer/packages/lowcoder/src Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11import {
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 } ,
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export const APP_EDITOR_URL = `${ALL_APPLICATIONS_URL}/:applicationId/:viewMode/
3131export const AUTH_BIND_URL = `${ USER_AUTH_URL } /bind` ;
3232export const AUTH_LOGIN_URL = `${ USER_AUTH_URL } /login` ;
3333export 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` ;
3634export const QR_CODE_OAUTH_URL = `${ USER_AUTH_URL } /oauth/qrcode` ;
3735export const OAUTH_REDIRECT = `${ USER_AUTH_URL } /oauth/redirect` ;
3836export const CAS_AUTH_REDIRECT = `${ USER_AUTH_URL } /cas/redirect` ;
Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ import { UserConnectionSource } from "@lowcoder-ee/constants/userConstants";
1515import { trans } from "i18n" ;
1616import { AuthContext , useAuthSubmit } from "pages/userAuth/authUtils" ;
1717import { 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" ;
1919import { Link , useLocation , useParams } from "react-router-dom" ;
2020import { Divider } from "antd" ;
21- import Flex from "antd/es/flex" ;
2221
2322const AccountLoginWrapper = styled ( FormWrapperMobile ) `
2423 display: flex;
You can’t perform that action at this time.
0 commit comments