From 949f00ece5aabc1b6f38a81ab05fe73dcd406c91 Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Sun, 14 Feb 2016 15:03:21 +0100 Subject: [PATCH] Updated documentation --- Resources/doc/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources/doc/configuration.md b/Resources/doc/configuration.md index cb8a56f1..1cf99df7 100644 --- a/Resources/doc/configuration.md +++ b/Resources/doc/configuration.md @@ -52,6 +52,10 @@ scheb_two_factor: # two-factor authentication for other authentication methods, add their security token classes. security_tokens: - Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken + + # A list of IP addresses, which will not trigger two-factor authentication + ip_whitelist: + - 127.0.0.1 ``` The bundle comes with a security voter, which checks if the two-factor-auth is completed, if not it will deny access.