Add USER_ACCOUNT_ACTIVATED signal (#23296)

Plugins can listen to USER_ACCOUNT_ACTIVATED signal to perform custom logic.
This commit is contained in:
Omar Al-Ithawi
2020-09-21 16:57:32 +03:00
committed by GitHub
parent cf735e411d
commit fc0eb71918
3 changed files with 16 additions and 1 deletions

View File

@@ -33,5 +33,7 @@ COURSE_GRADE_NOW_FAILED = Signal(
]
)
# Signal that indicates that a user has become verified
# Signal that indicates that a user has become verified for certificate purposes
LEARNER_NOW_VERIFIED = Signal(providing_args=['user'])
USER_ACCOUNT_ACTIVATED = Signal(providing_args=["user"]) # Signal indicating email verification