This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 4e98e4efd3502c161f1eab28d99e6e10a1890eb4 Author: Kurganov <[email protected]> AuthorDate: Wed Jul 29 17:17:06 2020 +0300 Fix airflow-webserver startup errors when using Kerberos Auth (#10047) fix airflow-webserer startup errors if airflow.api.auth.backend.kerberos_auth enabled (cherry picked from commit 87b495b8cfc28c9887eb5dc52ad50eccb71579b6) --- airflow/contrib/auth/backends/kerberos_auth.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airflow/contrib/auth/backends/kerberos_auth.py b/airflow/contrib/auth/backends/kerberos_auth.py index e84a0b2..63cea8d 100644 --- a/airflow/contrib/auth/backends/kerberos_auth.py +++ b/airflow/contrib/auth/backends/kerberos_auth.py @@ -20,7 +20,9 @@ import logging import flask_login from airflow.exceptions import AirflowConfigException -from flask_login import current_user +# Need to expose these downstream +# flake8: noqa: F401 +from flask_login import current_user, login_required, logout_user from flask import flash from wtforms import Form, PasswordField, StringField from wtforms.validators import InputRequired
