diff options
| author | lain <lain@soykaf.club> | 2020-05-07 08:14:54 +0000 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-07 08:14:54 +0000 |
| commit | f4c2bf0985f3d65d9caa6f02a71c89db9f070fb1 (patch) | |
| tree | a7f4ece6dcd0a534b464e455fa382d3ebd8f4d07 /config/config.exs | |
| parent | 68a126317d7cdd670c8e244319da08ff85639d33 (diff) | |
| parent | 3d0c567fbc3506770fdac5f1269c45b244928747 (diff) | |
| download | pleroma-f4c2bf0985f3d65d9caa6f02a71c89db9f070fb1.tar.gz pleroma-f4c2bf0985f3d65d9caa6f02a71c89db9f070fb1.zip | |
Merge branch 'issue/209' into 'develop'
[#209] 2FA/two_factor_authentication support
See merge request pleroma/pleroma!801
Diffstat (limited to 'config/config.exs')
| -rw-r--r-- | config/config.exs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index ca9bbab64..e703c1632 100644 --- a/config/config.exs +++ b/config/config.exs @@ -238,7 +238,18 @@ config :pleroma, :instance, account_field_value_length: 2048, external_user_synchronization: true, extended_nickname_format: true, - cleanup_attachments: false + cleanup_attachments: false, + multi_factor_authentication: [ + totp: [ + # digits 6 or 8 + digits: 6, + period: 30 + ], + backup_codes: [ + number: 5, + length: 16 + ] + ] config :pleroma, :extensions, output_relationships_in_statuses_by_default: true |
