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