Graphe des révisions

76 Révisions

Auteur SHA1 Message Date
Daniel Seifert 0dc6c49e0b
fix missing redirect on lost session while admin login 2022-11-26 00:23:04 +01:00
Daniel Seifert f14ce58d6e
improve code syntax 2022-11-25 20:24:09 +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 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 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 f0275c1bc9
add missing tests 2022-09-30 00:17:36 +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 8b63d67a78
adjust license informations 2022-09-26 15:22:26 +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
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
Daniel Seifert b28c9c8757 remove password check in admin, prevent resave, show delete message 2019-08-18 13:24:49 +02:00
Daniel Seifert 05619017e5 Merge branch 'dev_1.x_frontend' into dev_1.x_frontend_620 2019-08-16 23:18:25 +02:00
Daniel Seifert d5fc28194d fix creating backupcode from false customer account 2019-08-16 23:17:48 +02:00
Daniel Seifert 4bd06dde16 Merge branch 'dev_1.x_frontend' into dev_1.x_frontend_620 2019-08-14 23:53:59 +02:00
Daniel Seifert e1f5372f6b change docblocks 2019-08-14 23:23:36 +02:00
Daniel Seifert d716f24af9 add last tests 2019-08-14 23:15:05 +02:00
Daniel Seifert f70fdc6373 remove d3database call because of nt set requirement ModCfg 2019-08-14 09:53:21 +02:00
Daniel Seifert f473fbc473 remove d3database call because of nt set requirement ModCfg 2019-08-13 23:56:39 +02:00
Daniel Seifert f4bf78cb1e fix seed encrypting 2019-08-13 23:09:51 +02:00
Daniel Seifert 51ff19bf42 add further tests 2019-08-12 23:57:44 +02:00
Daniel Seifert 41013e4868 add tests 2019-08-11 23:49:49 +02:00
Daniel Seifert c77f6fa9e2 change and add tests 2019-08-11 00:33:59 +02:00
Daniel Seifert 2ffb5a4d73 add phpunit configuration for coverage report, mark uncovered lines 2019-08-09 23:10:04 +02:00
Daniel Seifert fb863773ca add missing tests 2019-08-08 23:50:09 +02:00
Daniel Seifert ff9f1722af add test for totp login controller 2019-08-05 22:59:26 +02:00