Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 2FA TOTP support if in config #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add 2FA TOTP support if in config #25

wants to merge 1 commit into from

Conversation

durinthal
Copy link
Member

@durinthal durinthal commented Aug 9, 2022

Using REDDIT_TOTP_SECRET as the environment variable for the 2FA setup key. If not set, assumes it's not enabled.

Including the import inside the if statement is intentional as it's not even necessary to have the library installed if it's not on, but that could be moved to the top like normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant