Skip to content

Commit

Permalink
docs(signals): Add note when social_account_added is called
Browse files Browse the repository at this point in the history
This should prevent further misconceptions as in #3834
  • Loading branch information
p-fruck committed May 21, 2024
1 parent 891c6fa commit f8f4c56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/socialaccount/signals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ hook to them for your own needs.
provided.

- ``allauth.socialaccount.signals.social_account_added(request, sociallogin)``
Sent after a user connects a social account to their local account.
Sent after a user connects a social account to their local account. This
is an explicit action and does not get called for the creation of a
socialaccount.

- ``allauth.socialaccount.signals.social_account_updated(request, sociallogin)``
Sent after a social account has been updated. This happens when a user
Expand Down

0 comments on commit f8f4c56

Please sign in to comment.