Skip to content

Commit

Permalink
Remove unused airflow import from docs (apache#9274)
Browse files Browse the repository at this point in the history
The bash code block which demonstrates the creating user import airflow but unused it. So that line is redundant
  • Loading branch information
tung491 authored and Chris Fei committed Mar 5, 2021
1 parent 3f4db1c commit 7de1c8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ attack. Creating a new user has to be done via a Python REPL on the same machine
$ python
Python 2.7.9 (default, Feb 10 2015, 03:28:08)
Type "help", "copyright", "credits" or "license" for more information.
>>> import airflow
>>> from airflow import models, settings
>>> from airflow.contrib.auth.backends.password_auth import PasswordUser
>>> user = PasswordUser(models.User())
Expand Down

0 comments on commit 7de1c8f

Please sign in to comment.