Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix registration with email #2970

Merged
merged 3 commits into from
May 14, 2019
Merged

Fix registration with email #2970

merged 3 commits into from
May 14, 2019

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented May 14, 2019

Merges #2967 to release branch

dbkr added 3 commits May 14, 2019 13:22
We look to see if there's already a user logged in and if there is,
restore that session instead of logging the user in as their new
account. We still set this 'is_registered' flag though, even though
in that case it's not a newly registered account that's being restored,
so don't set in that case.
Regressed in #2768
where we check for an existing stored account first and restore that
instead if it exist, telling the user. We usually make a guest account
when the user first hits the page though, so this just restored this
guest account.

Don't restore the account if it's just a guest account (which, as per
comment, is not perfect, but is definitely better than the current
behaviour).

Fixes element-hq/element-web#9581
@dbkr dbkr merged commit 8f2d60a into release-v1.1.1 May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants