Skip to content

Comments

Add 2FA TOTP support if in config#25

Open
durinthal wants to merge 1 commit intomainfrom
totp_support
Open

Add 2FA TOTP support if in config#25
durinthal wants to merge 1 commit intomainfrom
totp_support

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