Skip to content

feat(auth): block account creation until CGU consent via UpdateUserIn… - #254

Open
hboisgibault wants to merge 1 commit into
masterfrom
feat/consent-cgu-before-account-creation
Open

feat(auth): block account creation until CGU consent via UpdateUserIn…#254
hboisgibault wants to merge 1 commit into
masterfrom
feat/consent-cgu-before-account-creation

Conversation

@hboisgibault

Copy link
Copy Markdown
Collaborator

…foModal

  • AuthInitializer holds auth params in pendingAuth state when showCgu is enabled
  • UpdateUserInfoModal has new pendingAuth mode: submits auth params + consent in one call
  • UpdateUserInfoModal shows consent toggles (CGU + email) and hides profile sections
  • SocialAuthForm replaces useSessionStorageState with useState (no pre-storage)
  • useAuthActions.logoutUser clears EMAIL_CONSENT_STORAGE_KEY

…foModal

- AuthInitializer holds auth params in pendingAuth state when showCgu is enabled
- UpdateUserInfoModal has new pendingAuth mode: submits auth params + consent in one call
- UpdateUserInfoModal shows consent toggles (CGU + email) and hides profile sections
- SocialAuthForm replaces useSessionStorageState with useState (no pre-storage)
- useAuthActions.logoutUser clears EMAIL_CONSENT_STORAGE_KEY
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.

1 participant