You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:02:04 UTC
[jira] [Commented] (AIRFLOW-2462)
airflow.contrib.auth.backends.password_auth.PasswordUser exists bug
[ https://issues.apache.org/jira/browse/AIRFLOW-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601453#comment-16601453 ]
Apache Spark commented on AIRFLOW-2462:
---------------------------------------
User 'Noremac201' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3415
> airflow.contrib.auth.backends.password_auth.PasswordUser exists bug
> -------------------------------------------------------------------
>
> Key: AIRFLOW-2462
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2462
> Project: Apache Airflow
> Issue Type: Bug
> Components: authentication, contrib
> Affects Versions: 1.9.0
> Reporter: froginwell
> Assignee: froginwell
> Priority: Blocker
>
> PasswordUser
> {quote}
> @password.setter
> def _set_password(self, plaintext):
> self._password = generate_password_hash(plaintext, 12)
> if PY3:
> self._password = str(self._password, 'utf-8')
> {quote}
> _set_password should be renamed as password.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)