File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 48
48
# (For 2-factor authentication using a time-based one-time password algorithm)
49
49
# (See https://github.com/pyotp/pyotp and https://pypi.org/project/pyotp/ )
50
50
# (Also works with Authy and other compatible apps.)
51
+ # Usage: "self.get_google_auth_password()" (output based on timestamp)
52
+ # Usage with override: "self.get_google_auth_password(totp_key=TOTP_KEY)"
51
53
TOTP_KEY = "base32secretABCD"
52
54
53
55
# MySQL DB Credentials
Original file line number Diff line number Diff line change 1
1
"""
2
2
You'll probably want to customize this to your own environment and needs.
3
3
4
- If you used ``python setup.py install`` instead of ``python setup.py develop``,
5
- you may need to rerun ``python setup.py install`` in order for your changes
6
- to take effect (unless you switch to using ``develop``).
4
+ For changes to take effect immediately, use Python's Develop Mode.
5
+ Develop Mode Install: "pip install -e ." (from the top-level directory)
7
6
"""
8
7
9
8
117
116
# (For 2-factor authentication using a time-based one-time password algorithm)
118
117
# (See https://github.com/pyotp/pyotp and https://pypi.org/project/pyotp/ )
119
118
# (Also works with Authy and other compatible apps.)
119
+ # Usage: "self.get_google_auth_password()" (output based on timestamp)
120
+ # Usage with override: "self.get_google_auth_password(totp_key=TOTP_KEY)"
120
121
TOTP_KEY = "base32secretABCD"
121
122
122
123
You can’t perform that action at this time.
0 commit comments