Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset password - reset password dialog #278

Merged
merged 8 commits into from
Dec 9, 2023
Merged

Conversation

vgeffer
Copy link
Contributor

@vgeffer vgeffer commented Dec 9, 2023

(1/2)

  • Created reset password dialog
  • Linked reset password dialog to login dialog
  • Added a landing page after the verification email has been sent

@vgeffer vgeffer linked an issue Dec 9, 2023 that may be closed by this pull request
@vgeffer vgeffer force-pushed the 192-reset-password branch from 2e49571 to a0b9bc9 Compare December 9, 2023 14:52
@vgeffer vgeffer requested a review from rtrembecky December 9, 2023 15:03
@vgeffer vgeffer force-pushed the 192-reset-password branch from a0b9bc9 to 93af449 Compare December 9, 2023 15:21
@@ -38,7 +38,7 @@ export const Authentication: FC = () => {
<Overlay display={displayAuthenticationOverlay} closeOverlay={toggleDisplayLoginOverlay}>
<div className={styles.authenticationContainer}>
<div className={styles.content}>
<LoginForm closeOverlay={toggleDisplayLoginOverlay} />
<LoginFormWrapper closeOverlay={toggleDisplayLoginOverlay} />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nie som si isty, ci mozeme ratat s tym, ze toggleDisplayLoginOverlay unmountne LoginFormWrapper component. ked sa neunmountne a ostane len nejak invisible, tak pri znovuotvoreni loginu by som cakal zachovany stav, ze resetujeme heslo

import {LoginForm} from '../LoginForm/LoginForm'
import {PasswordResetRequestForm} from '../PasswordReset/PasswordResetRequest'

export interface ILoginFormWrapper {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skor pouzivame type miesto interface, co je ale uplny nitpick.
skor ale zapindam ze pouzivajme naming "ComponentProps", tzn. ja bys om pisal export type LoginFormWrapperProps = {

@vgeffer vgeffer merged commit cc8e55e into master Dec 9, 2023
1 check passed
@vgeffer vgeffer deleted the 192-reset-password branch December 9, 2023 16:25
@vgeffer vgeffer restored the 192-reset-password branch December 9, 2023 16:27
@vgeffer vgeffer deleted the 192-reset-password branch December 9, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pridat moznost zresetovat zabudnute heslo
2 participants