From 6aec66fe377297aa14153e71f2e30f22d785b6ae Mon Sep 17 00:00:00 2001 From: Isaac Bennetch Date: Wed, 22 Nov 2017 17:56:21 -0500 Subject: [PATCH] Improvements to two-factor documentation Signed-off-by: Isaac Bennetch --- doc/two_factor.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/two_factor.rst b/doc/two_factor.rst index cee48adbc0..b1225bc9f1 100644 --- a/doc/two_factor.rst +++ b/doc/two_factor.rst @@ -6,10 +6,25 @@ Two-factor authentication .. versionadded:: 4.8.0 Since phpMyAdmin 4.8.0 you can configure two-factor authentication to be -used when logging into it. To use this, you first need to configure +used when logging in. To use this, you first need to configure the :ref:`linked-tables`. Once this is done, every user can opt-in for second authentication factor in the :guilabel:`Settings`. +When running phpMyAdmin from the Git source repository, the dependencies must be installed +manually; the typical way of doing so is with the command: + +.. code-block:: sh + + composer require pragmarx/google2fa bacon/bacon-qr-code + +Or when using a hardware security key with FIDO U2F: + +.. code-block:: sh + + composer require pragmarx/google2fa bacon/bacon-qr-code samyoul/u2f-php-server + + + Authentication Application (2FA) --------------------------------