Files
jumpserver/apps/authentication/signals.py
2019-02-28 11:58:48 +08:00

6 lines
176 B
Python

from django.dispatch import Signal
post_auth_success = Signal(providing_args=('user', 'request'))
post_auth_failed = Signal(providing_args=('username', 'request', 'reason'))