cal.pub0.org/apps/web/pages/auth
Agusti Fernandez Pardo f4fe91396f
Improve 2fa: ask for code before account removal and 2fa disabling (#3817)
* fix conflicts

* fix remove separate function and call mutation directly

* feat: add new react-otp-input to enable 2fa flow

* fix: comment out

* fix: remove next-auth 4.9.0 from yarn.lock

* fix: delete account test fill password before submit

* fix: test delete accc

* fix typo in delete acc test

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* feat: remove react-otp-input reuse TwoFactor

* feat: add center props to TwoFactor

* fix: no v2

* feat: disable 2fa requires 2fa api

* feat: make 2fa required to disable 2fa

* fix: FormEvent instead of SyntheticEvent

* fix: types

* fix: move disable 2fa form to fully use RHF

* fix     if (e) e.preventDefault();

* feat: fix remove account

* fix: remove react-otp-input types

* fix: separate onConfirm to add to form handleSubmit

* fix: types e:SyntethicEvent

* fix: types

* fix: import packages lib not web lib

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update apps/web/components/security/EnableTwoFactorModal.tsx

Co-authored-by: Omar López <zomars@me.com>

* fix: no import from web

* fix: import

* fix: remove duplicate FormEvent

* fix: upgrade ErrorCode imports

* fix profile types totpCode not optional

* fix: build pass

* fix: dont touch test delete-account

* fix: type

* fix: add data-testid to password field

* fix: conflicts w syncServices

* Build fixes

* Fixes delete account e2e test

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-31 14:57:53 -06:00
..
forgot-password fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
sso Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
error.tsx Hotfix/dos mitigation attempt error configuration (#3879) 2022-08-17 00:38:26 +01:00
login.tsx Improve 2fa: ask for code before account removal and 2fa disabling (#3817) 2022-08-31 14:57:53 -06:00
logout.tsx Update V2 components + Move to react-icons (#3670) 2022-08-03 16:01:29 +00:00
new.tsx Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
setup.tsx V2 Main (#3549) 2022-08-24 14:18:42 -06:00
signin.tsx feat: signin test email magic signup in app (#3749) 2022-08-09 15:38:21 -06:00
signup.tsx Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
verify.tsx Adds verify page 2022-08-05 21:09:52 -06:00