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

🕶️ Obfuscate Livesession #4732

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const EmailAndSeedStep = () => {
error={formState.errors.EmailAndSeedStep?.mnemonic?.message}
>
<TextArea
data-ls-disabled
rows={2}
placeholder="Wallet seed"
{...register(`${ForgotPasswordStep.EmailAndSeedStep}.mnemonic`)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ export const NewPasswordStep = () => {
<GapContainer>
<FormField label="New password" error={formState.errors.NewPasswordStep?.password?.message}>
<Input
data-ls-disabled
placeholder="Password"
{...register(`${ForgotPasswordStep.NewPasswordStep}.password`)}
{...hidePasswordProps}
/>
</FormField>
<FormField label="Repeat password" error={formState.errors.NewPasswordStep?.confirmPassword?.message}>
<Input
data-ls-disabled
placeholder="Confirm password"
{...register(`${ForgotPasswordStep.NewPasswordStep}.confirmPassword`)}
{...hideConfirmPasswordProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const LogInModal = () => {
</FormField>
<FormField label="Password" error={errors.password?.message}>
<Input
data-ls-disabled
{...register('password')}
placeholder="Password"
{...hidePasswordProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const SignUpPasswordStep: FC<SignUpPasswordStepProps> = ({
<StyledSignUpForm>
<FormField label="Password" error={errors.password?.message}>
<Input
data-ls-disabled
placeholder="Password"
{...register('password')}
{...hidePasswordProps}
Expand All @@ -87,6 +88,7 @@ export const SignUpPasswordStep: FC<SignUpPasswordStepProps> = ({
</FormField>
<FormField label="Repeat Password" error={errors.confirmPassword?.message}>
<Input
data-ls-disabled
placeholder="Repeat password"
{...register('confirmPassword')}
{...hideConfirmPasswordProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const SignUpSeedStep: FC<SignUpSeedStepProps> = ({
>
<StyledSignUpForm>
<FormField label="Password recovery seed">
<StyledTextArea {...register('mnemonic')} disabled />
<StyledTextArea data-ls-disabled {...register('mnemonic')} disabled />
</FormField>
<StyledTextButton
variant="secondary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export const ChangePasswordDialog: FC<ChangePasswordDialogProps> = ({ onClose, s
error={verifyPasswordForm.formState.errors.oldPassword?.message}
>
<Input
data-ls-disabled
placeholder="Password"
{...verifyPasswordForm.register('oldPassword', {
validate: {
Expand All @@ -165,6 +166,7 @@ export const ChangePasswordDialog: FC<ChangePasswordDialogProps> = ({ onClose, s
<Wrapper>
<FormField label="New password" error={changePasswordForm.formState.errors.password?.message}>
<Input
data-ls-disabled
placeholder="New password"
{...changePasswordForm.register('password')}
{...hidePasswordProps}
Expand All @@ -173,6 +175,7 @@ export const ChangePasswordDialog: FC<ChangePasswordDialogProps> = ({ onClose, s
</FormField>
<FormField label="Repeat Password" error={changePasswordForm.formState.errors.confirmPassword?.message}>
<Input
data-ls-disabled
placeholder="Repeat password"
{...changePasswordForm.register('confirmPassword')}
{...hideConfirmPasswordProps}
Expand Down