예제 #1
0
파일: auth.py 프로젝트: sugusbs/sentry
    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)