jumpserver/apps/authentication/signals.py

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'))