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

Change unconfirmed user login behaviour #11375

Merged
merged 1 commit into from
Jul 22, 2019
Merged

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Jul 21, 2019

Fix #10735

Allow access to account settings, 2FA, authorized applications, and account deletions to unconfirmed and pending users, as well as users who had their accounts disabled. Suspended users cannot update their e-mail or password or delete their account.

Display account status on account settings page, for example, when an account is frozen, limited, unconfirmed or pending review.

grafik

After sign up, login users straight away and show a simple page that tells them the status of their account with links to account settings and logout, to reduce onboarding friction and allow users to correct wrongly typed e-mail addresses.

grafik

Move the final sign-up step of SSO integrations to be the same as above to reduce code duplication.


What are the benefits of this change?

  • Logging in the user right after sign-up reduces friction and allows users who have mistyped their e-mail to correct the mistake on their own. It also allows them to delete their account right away in case they mistyped their username and want to try again.

  • Allowing users with disabled login to see the account settings page, 2FA page, sessions and authorized applications allows them to take action in case the problem stemmed from a bad application or unauthorized entry into the account. Allowing them to delete their account complies with the GDPR without having to bother the admin

  • Mind that in case of suspended users, allowing them to delete their account would allow them to re-create the same account with the same credentials, so it is still not allowed.

  • Allowing suspended users to see a more in-depth text (account status) than a mere "Forbidden" error page should lead to fewer misunderstandings, in the same vein that suspended users should be able to view the server rules and privacy policy pages

@Gargron Gargron force-pushed the feature-login-after-sign-up branch from 558244d to d30bc4a Compare July 22, 2019 01:52
Allow access to account settings, 2FA, authorized applications, and
account deletions to unconfirmed and pending users, as well as
users who had their accounts disabled. Suspended users cannot update
their e-mail or password or delete their account.

Display account status on account settings page, for example, when
an account is frozen, limited, unconfirmed or pending review.

After sign up, login users straight away and show a simple page that
tells them the status of their account with links to account settings
and logout, to reduce onboarding friction and allow users to correct
wrongly typed e-mail addresses.

Move the final sign-up step of SSO integrations to be the same
as above to reduce code duplication.
@Gargron Gargron force-pushed the feature-login-after-sign-up branch from d30bc4a to 48e7bd0 Compare July 22, 2019 02:08
@Gargron Gargron marked this pull request as ready for review July 22, 2019 02:08
@Gargron Gargron merged commit 964ae8e into master Jul 22, 2019
@Gargron Gargron deleted the feature-login-after-sign-up branch July 22, 2019 08:48
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
Allow access to account settings, 2FA, authorized applications, and
account deletions to unconfirmed and pending users, as well as
users who had their accounts disabled. Suspended users cannot update
their e-mail or password or delete their account.

Display account status on account settings page, for example, when
an account is frozen, limited, unconfirmed or pending review.

After sign up, login users straight away and show a simple page that
tells them the status of their account with links to account settings
and logout, to reduce onboarding friction and allow users to correct
wrongly typed e-mail addresses.

Move the final sign-up step of SSO integrations to be the same
as above to reduce code duplication.
rtucker referenced this pull request in vulpineclub/mastodon Jan 7, 2021
Allow access to account settings, 2FA, authorized applications, and
account deletions to unconfirmed and pending users, as well as
users who had their accounts disabled. Suspended users cannot update
their e-mail or password or delete their account.

Display account status on account settings page, for example, when
an account is frozen, limited, unconfirmed or pending review.

After sign up, login users straight away and show a simple page that
tells them the status of their account with links to account settings
and logout, to reduce onboarding friction and allow users to correct
wrongly typed e-mail addresses.

Move the final sign-up step of SSO integrations to be the same
as above to reduce code duplication.
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.

Minimal access UI before confirmation
2 participants