From 0b78a518842c8a5b4e892f424e050efa11a9e71f Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Sun, 14 Apr 2019 18:52:31 +0200 Subject: [PATCH] Add configuration reference for TOTP --- Resources/doc/configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Resources/doc/configuration.md b/Resources/doc/configuration.md index 11e48f24..33d2e44e 100644 --- a/Resources/doc/configuration.md +++ b/Resources/doc/configuration.md @@ -41,6 +41,16 @@ scheb_two_factor: digits: 6 # Number of digits in authentication code window: 1 # How many codes before/after the current one would be accepted as valid template: security/2fa_form.html.twig # Template used to render the authentication form + + # TOTP authentication config + totp: + enabled: true # If TOTP authentication should be enabled, default false + server_name: Server Name # Server name used in QR code + issuer: Issuer Name # Issuer name used in QR code + window: 1 # How many codes before/after the current one would be accepted as valid + parameters: # Additional parameters added in the QR code + image: 'https://my-service/img/logo.png' + template: security/2fa_form.html.twig # Template used to render the authentication form # The service which is used to persist data in the user object. By default Doctrine is used. If your entity is # managed by something else (e.g. an API), you have to implement a custom persister