Exemplo n.º 1
0
    def process_exception(self, request, exception):
        if isinstance(exception, AuthUserPasswordExpired):
            from sentry.web.frontend.accounts import expired

            return expired(request, exception.user)
Exemplo n.º 2
0
 def process_exception(self, request, exception):
     if isinstance(exception, AuthUserPasswordExpired):
         from sentry.web.frontend.accounts import expired
         return expired(request, exception.user)