diff --git a/app/src/App.tsx b/app/src/App.tsx index 9156f062..124b9723 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -168,7 +168,15 @@ function App() { }> } /> - } /> + + } + /> } /> ('') const [password, setPassword] = useState('') @@ -106,11 +107,13 @@ export function LoginPage({ inviteApi }: Props) { className='tw:input tw:input-bordered tw:w-full tw:max-w-xs' />
- - - Forgot Password? - - + {!showRequestPassword && ( + + + Forgot Password? + + + )}
+ {showRequestPassword && ( + <> +
OR
+ + + + + )}
) diff --git a/lib/src/Components/Auth/RequestPasswordPage.tsx b/lib/src/Components/Auth/RequestPasswordPage.tsx index 0f15acd5..dcfb416f 100644 --- a/lib/src/Components/Auth/RequestPasswordPage.tsx +++ b/lib/src/Components/Auth/RequestPasswordPage.tsx @@ -37,7 +37,7 @@ export function RequestPasswordPage({ resetUrl }: { resetUrl: string }) { return ( -

Reset Password

+

Request Password