I have a user with connected to social account twitter. I registered new user and trying to connect twitter account is already exists. Exeption: The social account is already connected to a different account.
I used to:
<a href="{% provider_login_url "twitter" process="connect" next='/'%}">
connect Twitter acount</a><br>
How to catch this exception or redirect to another page if login failed?
Thank you.
I think is completed.
add into settings.py
create