I'm using python-social-auth
for a long time, but just noticed that after a user updates their email, they can still log-in using their old one (besides the new one).
After the user updates their email, the social_auth_usersocialauth
table contains two entries (email
providers) for that user_id
: one for each email address (old and new).
Is there a standard way to disable the possibility of using the old email for logging-in (so be able to log-in only with the new one)? Or do I have to manually remove the old entry from social_auth_usersocialauth
(as I suppose that's what needs to happen)?
Here are the versions I'm using:
social-auth-core==3.0.0
social-auth-app-flask==1.0.0
social-auth-app-flask-sqlalchemy==1.0.1
Thanks!