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

Resets has_pending_invitation flag #139

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

simonbs
Copy link
Contributor

@simonbs simonbs commented Nov 8, 2023

The changes in this PR sets has_pending_invitation to false when users login. The has_pending_invitation flag is initially true for invited users. This lets us differentiate the email they get requesting them to add a password for their account with regular "Reset password"-emails.

We set the flag to false upon login to ensure the users will receive regular "Reset password"-emails when changing their password in the future.

@simonbs simonbs self-assigned this Nov 8, 2023
@simonbs simonbs marked this pull request as draft November 8, 2023 08:34
Base automatically changed from enhancement/guest-login to develop November 8, 2023 12:55
…-flag

# Conflicts:
#	src/features/auth/domain/logIn/index.ts
@simonbs simonbs marked this pull request as ready for review November 8, 2023 13:03
@simonbs simonbs merged commit 1aa5df0 into develop Nov 8, 2023
@simonbs simonbs deleted the enhancement/resets-has-pending-invitation-flag branch November 8, 2023 13:17
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