Commit Graph

132 Commits

Author SHA1 Message Date
Daniel Seifert c13b1e04a0
update screenshots 2022-11-25 20:47:01 +01:00
Daniel Seifert f14ce58d6e
improve code syntax 2022-11-25 20:24:09 +01:00
Daniel Seifert a9a279a753
adjust tests 2022-11-25 20:11:04 +01:00
Daniel Seifert 7a2648fe7b
improve code 2022-11-25 15:42:33 +01:00
Daniel Seifert a3c75df635
adjust tests 2022-11-25 09:49:31 +01:00
Daniel Seifert a809c04b5b
set selected language for otp form 2022-11-24 20:27:07 +01:00
Daniel Seifert 77eca02079
change session admin auth variable to constant 2022-11-24 20:17:50 +01:00
Daniel Seifert 331a05b080
handle delete keys in OTP input form 2022-11-24 09:36:39 +01:00
Daniel Seifert c5d9fea2fe
remove required attribte from OTP input field to make 'cancel login' button clickable without an input 2022-11-24 00:53:30 +01:00
Daniel Seifert c86984df5f
move OTP check from login controller check to onAdminLoginEvent for webauthn compatibility 2022-11-24 00:51:56 +01:00
Daniel Seifert 749c654b4e
format otp input fields 2022-11-23 22:25:33 +01:00
Daniel Seifert 46ae7efa32
separate session var names between frontend and backend 2022-11-23 21:48:34 +01:00
Daniel Seifert d8be836ed7
adjust tests 2022-11-17 00:30:15 +01:00
Daniel Seifert d7912f6371
prevent type error 2022-11-14 09:07:34 +01:00
Daniel Seifert 4edfa2d3c3
use separated input fields for totp code in front- and backend 2022-11-14 08:55:37 +01:00
Daniel Seifert 12bb6355ee
fix unthrown invalid totp exception 2022-11-14 00:24:04 +01:00
Daniel Seifert 42bab2bd25
layout admin panel 2022-11-12 23:56:41 +01:00
Daniel Seifert e65c2e7acb
add missing tests 2022-11-12 22:31:19 +01:00
Daniel Seifert be69ed889e
layout admin panel 2022-11-12 00:52:10 +01:00
Daniel Seifert 222b7b345a
add 2FA links into account dashboard and the header menu 2022-11-12 00:25:46 +01:00
Daniel Seifert 3327fc9242
adjust tests 2022-11-11 23:57:29 +01:00
Daniel Seifert 02f2f6a843
fix handle session variables
* attempted login user id will stored in session while totp request only
* successful totp login stores user id in totp auth session variable
2022-11-10 11:34:05 +01:00
Daniel Seifert e3d2156d44
extract TOTP check from admin login 2022-11-10 00:55:19 +01:00
Daniel Seifert c80b5f626f
rename module methods in extended OXID classes to prevent conflicts with other modules, move totp check to _afterLogin for webauthn module compatibility 2022-11-09 12:03:16 +01:00
Daniel Seifert f110142474
rename module methods in extended OXID classes to prevent conflicts with other modules 2022-11-09 11:27:11 +01:00
Daniel Seifert e8a069a63b
adjust version informations 2022-11-09 10:24:55 +01:00
Daniel Seifert 4691b7d0c0
move TOTP check to deeper implemented login method, remove possible login vulnerability 2022-11-09 10:18:31 +01:00
Daniel Seifert 4e8bae08e7
fix small code issues 2022-10-01 22:02:42 +02:00
Daniel Seifert ecb8b61923
apply PHP-CS-Fixer rule sets 2022-09-30 21:06:30 +02:00
Daniel Seifert 8e0480898a
adjust documentation 2022-09-30 11:24:56 +02:00
Daniel Seifert f0275c1bc9
add missing tests 2022-09-30 00:17:36 +02:00
Daniel Seifert de75b77562
annotate methods to cover 2022-09-29 16:09:16 +02:00
Daniel Seifert 9c4e7cfcc3
refactor tests 2022-09-28 21:31:53 +02:00
Daniel Seifert 7be2c32cf5
adjust creating TOTP instance 2022-09-26 16:07:47 +02:00
Daniel Seifert 337107fe52
remove warning issues 2022-09-26 15:58:38 +02:00
Daniel Seifert 3f77b212b4
use Laminas math 2022-09-26 15:57:45 +02:00
Daniel Seifert 3095d8d39b
remove QR generator support for 1.x 2022-09-26 15:56:41 +02:00
Daniel Seifert 47c1f30d7c
update dependencies for OXID from 6.3 to 6.5 2022-09-26 15:30:40 +02:00
Daniel Seifert 8b63d67a78
adjust license informations 2022-09-26 15:22:26 +02:00
Daniel Seifert 5b6dd4a4da
Merge remote-tracking branch 'remotes/GH/master' into rel_1.x
# Conflicts:
#	src/Modules/Core/d3_totp_utils.php
2022-09-26 15:03:42 +02:00
gitea Admin Panel cdff7abe01
Merge pull request #2 from tmloberon/tmloberon-force-2fa
Require administrators to activate 2FA.
2022-09-26 15:01:29 +02:00
Daniel Seifert 6b9130fc79
change OXID shop dependency from CE metapackage to core package 2022-09-26 14:58:44 +02:00
Daniel Seifert 87e18c90a1
Merge remote-tracking branch 'remotes/GH/master' into rel_1.x
# Conflicts:
#	composer.json
2022-09-26 14:55:09 +02:00
gitea Admin Panel f0a3124303
Merge pull request #1 from tmloberon/tmloberon-new-bacon-version
Update composer
2022-09-26 14:50:39 +02:00
Daniel Seifert 26f5b6b460
list example TOTP apps for Android and Apple devices 2022-09-26 14:40:33 +02:00
Tobias Matthaiou d3576c2dd7 Require administrators to activate 2FA. 2022-09-13 17:06:27 +02:00
Tobias Matthaiou 96f6de6300 The module is now compatible with all:
- bacon/bacon-qr-code: ^1.0 || ^2.0
- oxid-esales/oxideshop-metapackage-ce: "~6.0.3 || ~6.1.0 || ~6.2.0 || ~6.3.0  || ~6.4.0  || ~6.5.0"
2022-09-12 17:16:53 +02:00
Tobias Matthaiou 219427fb75
Autor und neuste version bacon/bacon-qr-code 2022-09-12 15:07:42 +02:00
gitea Admin Panel 6e72394bc7
Update README.md 2020-12-22 09:33:59 +01:00
gitea Admin Panel 4b4176cc7b
Create README.md 2020-12-22 09:33:38 +01:00