[jira] [Assigned] (AIRFLOW-2462) airflow.contrib.auth.backends.password_auth.PasswordUser exists bug

2018-05-26 Thread Anonymous (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRFLOW-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anonymous reassigned AIRFLOW-2462:
--

Assignee: froginwell

> 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)


[jira] [Assigned] (AIRFLOW-2462) airflow.contrib.auth.backends.password_auth.PasswordUser exists bug

2018-05-26 Thread Anonymous (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRFLOW-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anonymous reassigned AIRFLOW-2462:
--

Assignee: (was: froginwell)

> 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
>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)