diff options
author | Maksim <parallel588@gmail.com> | 2020-05-07 08:14:54 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-07 08:14:54 +0000 |
commit | 3d0c567fbc3506770fdac5f1269c45b244928747 (patch) | |
tree | a7f4ece6dcd0a534b464e455fa382d3ebd8f4d07 /config/test.exs | |
parent | 68a126317d7cdd670c8e244319da08ff85639d33 (diff) | |
download | pleroma-3d0c567fbc3506770fdac5f1269c45b244928747.tar.gz pleroma-3d0c567fbc3506770fdac5f1269c45b244928747.zip |
Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController
Diffstat (limited to 'config/test.exs')
-rw-r--r-- | config/test.exs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/test.exs b/config/test.exs index cbf775109..e38b9967d 100644 --- a/config/test.exs +++ b/config/test.exs @@ -56,6 +56,19 @@ config :pleroma, :rich_media, ignore_hosts: [], ignore_tld: ["local", "localdomain", "lan"] +config :pleroma, :instance, + multi_factor_authentication: [ + totp: [ + # digits 6 or 8 + digits: 6, + period: 30 + ], + backup_codes: [ + number: 2, + length: 6 + ] + ] + config :web_push_encryption, :vapid_details, subject: "mailto:administrator@example.com", public_key: |