From b187816e3d94abd53ba896a5535098d04f96eee2 Mon Sep 17 00:00:00 2001
From: Pinga <121483313+getpinga@users.noreply.github.com>
Date: Mon, 9 Dec 2024 11:37:24 +0200
Subject: [PATCH] Fixed #195
---
cp/resources/views/admin/profile/profile.twig | 9 +--------
docs/configuration.md | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/cp/resources/views/admin/profile/profile.twig b/cp/resources/views/admin/profile/profile.twig
index 6eb450b..f71779c 100644
--- a/cp/resources/views/admin/profile/profile.twig
+++ b/cp/resources/views/admin/profile/profile.twig
@@ -186,14 +186,7 @@
{% else %}
{{ __('WebAuthn Authentication') }}{{ __('Disabled') }}
-
{{ __('WebAuthn is currently disabled for this installation. To enable WebAuthn authentication, follow these steps:') }}
-
- - {{ __('Edit the environment configuration file located at:') }}
/var/www/cp/.env
- - {{ __('Find or add the following line:') }}
- WEB_AUTHN_ENABLED=true
- - {{ __('Save the changes and reload the server (Caddy) using the following command:') }}
- sudo systemctl reload caddy
-
+
{{ __('WebAuthn is currently disabled for this installation. To enable WebAuthn authentication, please contact the registry administrator.') }}
{% endif %}
{% endif %}
diff --git a/docs/configuration.md b/docs/configuration.md
index dad359f..b9d03ac 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -218,6 +218,24 @@ For the `LANG` variable, the supported values are `en_US`, `uk_UA`, `es_ES`, `pt
To apply your changes, save the file, refresh the control panel, and clear the cache using the following command: `php /var/www/cp/bin/clear_cache.php` The new language settings will take effect immediately.
+#### 1.4.10. WebAuthn Authentication
+
+To enable WebAuthn authentication in the Control Panel, follow these steps:
+
+1. Edit the environment configuration file located at: `/var/www/cp/.env`
+
+2. Find or add the following line:
+
+```bash
+WEB_AUTHN_ENABLED=true
+```
+
+3. Save the changes and reload the server (Caddy) using the following command:
+
+```bash
+sudo systemctl reload caddy
+```
+
## 2. Recommended Components and Integrations
This section outlines recommended components to enhance the functionality and reliability of your Namingo setup. These include essential services like DNS servers, monitoring tools, and other integrations that can help maintain a robust registry environment.