-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Adding TOTP / 2FA to lemmy #2741
Conversation
I think this feature will require some specific documentation so client devs know how to implement it. |
I can do that, just let me know where. |
Best write it in the joinlemmy docs. |
I'll do that In the lemmy js client API docs. |
I had to use |
crates/utils/src/utils/validation.rs
Outdated
Some(site_name.to_string()), | ||
username.to_string(), | ||
) | ||
.map_err(|_| LemmyError::from_message("Couldnt generate TOTP")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never drop errors like this.
Can you also link the docs you are writing for this so I can have a look? |
These get bundled into the client docs: https://github.com/LemmyNet/lemmy-js-client/pull/106/files |
This should be ready to go now. |
The front end for this is almost done.