Пример #1
0
    def process_exception(self, request, exception):
        if isinstance(exception, AuthUserPasswordExpired):
            from sentry.web.frontend.accounts import expired

            return expired(request, exception.user)
Пример #2
0
 def process_exception(self, request, exception):
     if isinstance(exception, AuthUserPasswordExpired):
         from sentry.web.frontend.accounts import expired
         return expired(request, exception.user)