feat(TOTP): use feature toggle via authserver.conf (#5978)

* Revert "Revert "feat(Core/Auth): add AccountInfo helper (#5640)" (#5971)"

This reverts commit fe6db2ff96.

* feat(TOTP): use feature toggle via authserver.conf

* chore(wip): wip

* Update src/server/authserver/authserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Francesco Borzì
2021-05-21 09:56:52 +02:00
committed by GitHub
parent 983d4b5771
commit aab32e5f30
6 changed files with 398 additions and 395 deletions

View File

@@ -185,7 +185,16 @@ LoginDatabase.SynchThreads = 1
###################################################################################################
# CRYPTOGRAPHY
#
# EnableTOTP
# Description: Check if a TOTP token is needed on account login
#
# Default: 0 - (Disabled)
# 1 - (Enabled)
EnableTOTP = 0
# TOTPMasterSecret
# Description: The master key used to encrypt TOTP secrets for database storage.
# If you want to change this, uncomment TOTPOldMasterSecret, then copy