]> Untitled Git - lemmy.git/commit
Adding TOTP / 2FA to lemmy (#2741)
authorDessalines <dessalines@users.noreply.github.com>
Thu, 2 Mar 2023 20:37:41 +0000 (15:37 -0500)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2023 20:37:41 +0000 (21:37 +0100)
commit1dba94c9cbdb7af838bbd13d6c81d349a603c623
treef6019f885be48f98eaf99206e300102f07476ffe
parent985fe24669d3fdeecc0aa76cc74dd6570cbad5c8
Adding TOTP / 2FA to lemmy (#2741)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

* Adding 2FA / TOTP support.

- Fixes #2363

* Changed name to totp_2fa for clarity.

* Switch to sha256 for totp.
Cargo.lock
crates/api/src/local_user/login.rs
crates/api/src/local_user/save_settings.rs
crates/api_common/src/person.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/local_user.rs
crates/db_views/src/registration_application_view.rs
crates/utils/Cargo.toml
crates/utils/src/utils/validation.rs
migrations/2023-02-16-194139_add_totp_secret/down.sql [new file with mode: 0644]
migrations/2023-02-16-194139_add_totp_secret/up.sql [new file with mode: 0644]