From 5a69d23db283dc14ed7f442ec8625c27be385f03 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 26 Jan 2023 00:12:47 +0100 Subject: [PATCH] rename package --- README.en.md | 8 +++++--- README.md | 8 +++++--- composer.json | 16 ++++++++++++++-- src/metadata.php | 8 ++++---- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/README.en.md b/README.en.md index 1a80a65..5b5930c 100644 --- a/README.en.md +++ b/README.en.md @@ -1,9 +1,9 @@ [![deutsche Version](https://logos.oxidmodule.com/de2_xs.svg)](README.md) [![english version](https://logos.oxidmodule.com/en2_xs.svg)](README.en.md) -# 2-factor authentication (TOTP) for OXID eShop +# 2-factor authentication (one-time password) for OXID eShop -This module provides a 2-factor authentication (time-dependent one-time password) for login in front- and backend in addition to user name and password. +This module provides a 2-factor authentication (time-dependent one-time password / TOTP) for login in front- and backend in addition to user name and password. ## Features @@ -37,8 +37,10 @@ The Flow and Wave themes are supported by default. Other themes may require cust ## Getting Started +Open a command line interface and navigate to the shop root directory (parent of source and vendor). Execute the following command. Adapt the paths to your environment. + ``` -composer require d3/oxtotp +composer require d3/oxid-twofactor-onetimepassword ``` Activate the module in the admin area of the shop in "Extensions -> Modules". diff --git a/README.md b/README.md index 418ce42..cc06b4e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ [![deutsche Version](https://logos.oxidmodule.com/de2_xs.svg)](README.md) [![english version](https://logos.oxidmodule.com/en2_xs.svg)](README.en.md) -# 2-Faktor-Authentisierung (TOTP) für OXID eShop +# 2-Faktor-Authentisierung (Einmalpasswort) für OXID eShop -Dieses Modul stellt eine 2-Faktor-Authentisierung (zeitabhängiges Einmalpasswort) zum Login in Front- und Backend zusätzlich zu Benutzername und Passwort zur Verfügung. +Dieses Modul stellt eine 2-Faktor-Authentisierung (zeitabhängiges Einmalpasswort / TOTP) zum Login in Front- und Backend zusätzlich zu Benutzername und Passwort zur Verfügung. ## Features @@ -37,8 +37,10 @@ Im Standard wird das Flow- und Wave-Theme unterstützt. Andere Themes können An ## Erste Schritte +Öffnen Sie eine Kommandozeile und navigieren Sie zum Stammverzeichnis des Shops (Elternverzeichnis von source und vendor). Führen Sie den folgenden Befehl aus. Passen Sie die Pfadangaben an Ihre Installationsumgebung an. + ``` -composer require d3/oxtotp +composer require d3/oxid-twofactor-onetimepassword ``` Aktivieren Sie das Modul im Shopadmin unter "Erweiterungen -> Module". diff --git a/composer.json b/composer.json index 790aee4..269612c 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "d3/oxtotp", + "name": "d3/oxid-twofactor-onetimepassword", "description": "Two-factor authentication via time-based one-time password for OXID eSales shop", "type": "oxideshop-module", "keywords": [ @@ -7,7 +7,13 @@ "modules", "eShop", "d3", - "2FA" + "2FA", + "two factor", + "second factor", + "TOTP", + "OTP", + "one-time password", + "authenticator" ], "authors": [ { @@ -57,5 +63,11 @@ }, "scripts": { "totp_phpstan": "./vendor/bin/phpstan -c./vendor/d3/oxtotp/phpstan.neon" + }, + "suggest": { + "d3/oxid-twofactor-passwordless": "Passwordless login with FIDO2 hardware token." + }, + "replace": { + "d3/oxtotp": "*" } } diff --git a/src/metadata.php b/src/metadata.php index 72d337d..11f00f0 100644 --- a/src/metadata.php +++ b/src/metadata.php @@ -50,12 +50,12 @@ $logo = '