Exemple #1
0
def catch_registration_failed_signal(sender,
                                     request,
                                     enable_logging=False,
                                     **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.REGISTRATION_FAILED,
                     enable_logging=enable_logging)
Exemple #2
0
def catch_email_change_success_signal(sender,
                                      request,
                                      enable_logging=False,
                                      **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.EMAIL_CHANGE_SUCCEEDED,
                     enable_logging=enable_logging)
Exemple #3
0
def catch_email_change_failed_signal(sender,
                                     request,
                                     enable_logging=False,
                                     **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.EMAIL_CHANGE_FAILED,
                     enable_logging=enable_logging)
Exemple #4
0
def catch_login_ratelimited_signal(sender,
                                   request,
                                   enable_logging=False,
                                   **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.LOGIN_RATELIMITED,
                     enable_logging=enable_logging)
Exemple #5
0
def catch_challenge_failed_signal(sender,
                                  request,
                                  enable_logging=False,
                                  **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.CHALLENGE_FAILED,
                     enable_logging=enable_logging)
Exemple #6
0
def catch_challenge_success_signal(sender,
                                   request,
                                   enable_logging=False,
                                   **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.CHALLENGE_SUCCEEDED,
                     enable_logging=enable_logging)
Exemple #7
0
def catch_password_change_success_signal(sender,
                                         request,
                                         enable_logging=False,
                                         **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.PASSWORD_CHANGE_SUCCEEDED,
                     enable_logging=enable_logging)
Exemple #8
0
def catch_password_reset_requested_signal(sender,
                                          request,
                                          enable_logging=False,
                                          **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.PASSWORD_RESET_REQUESTED,
                     enable_logging=enable_logging)
Exemple #9
0
def catch_password_change_failed_signal(sender,
                                        request,
                                        enable_logging=False,
                                        **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.PASSWORD_CHANGE_FAILED,
                     enable_logging=enable_logging)
Exemple #10
0
def catch_registration_success_signal(sender,
                                      request,
                                      enable_logging=False,
                                      **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.REGISTRATION_SUCCEEDED,
                     enable_logging=enable_logging)
Exemple #11
0
def catch_challenge_success_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.CHALLENGE_SUCCEEDED, enable_logging=enable_logging)
Exemple #12
0
def catch_logout_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.LOGOUT_SUCCEEDED,
                     enable_logging=enable_logging)
Exemple #13
0
def catch_logout_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.LOGOUT_SUCCEEDED, enable_logging=enable_logging)
Exemple #14
0
def catch_password_change_failed_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.PASSWORD_CHANGE_FAILED, enable_logging=enable_logging)
Exemple #15
0
def catch_login_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.LOGIN_SUCCESS, enable_logging=enable_logging)
Exemple #16
0
def catch_password_reset_requested_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.PASSWORD_RESET_REQUESTED, enable_logging=enable_logging)
Exemple #17
0
def catch_email_change_success_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.EMAIL_CHANGE_SUCCEEDED, enable_logging=enable_logging)
Exemple #18
0
def catch_email_change_failed_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.EMAIL_CHANGE_FAILED, enable_logging=enable_logging)
Exemple #19
0
def catch_registration_failed_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.REGISTRATION_FAILED, enable_logging=enable_logging)
Exemple #20
0
def catch_registration_success_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.REGISTRATION_SUCCEEDED, enable_logging=enable_logging)
Exemple #21
0
def catch_password_change_success_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.PASSWORD_CHANGE_SUCCEEDED, enable_logging=enable_logging)
Exemple #22
0
def catch_login_ratelimited_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.LOGIN_RATELIMITED, enable_logging=enable_logging)
Exemple #23
0
def catch_login_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request,
                     castle.LOGIN_SUCCESS,
                     enable_logging=enable_logging)
Exemple #24
0
def catch_challenge_failed_signal(sender, request, enable_logging=False, **kwargs):
    castle = Castle()
    castle.log_event(request, castle.CHALLENGE_FAILED, enable_logging=enable_logging)