Ejemplo n.º 1
0
 def on_authentication_fail(self, method):
     lr = tt_logging.construct_log(
         msg_short='Non-logged in User Attempted to Access Admin Panel',
         log_type=tt_logging.SECURITY,
         request=self.request)
     log.warning(lr['dict_msg']['msg'], extra=lr)
     raise HttpErrorException.unauthorized()
Ejemplo n.º 2
0
 def on_authentication_fail(self, method):
     raise HttpErrorException.unauthorized()
 def on_authentication_fail(self, selected_phrasing_id=None):
     raise HttpErrorException.unauthorized()