Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Seifert 46ae7efa32
separate session var names between frontend and backend 2022-11-23 21:48:34 +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 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 9c4e7cfcc3
refactor tests 2022-09-28 21:31:53 +02:00
Daniel Seifert 8b63d67a78
adjust license informations 2022-09-26 15:22:26 +02:00
Daniel Seifert d5fc28194d fix creating backupcode from false customer account 2019-08-16 23:17:48 +02:00
Daniel Seifert 41013e4868 add tests 2019-08-11 23:49:49 +02:00
Daniel Seifert fb863773ca add missing tests 2019-08-08 23:50:09 +02:00
Daniel Seifert d20322867d change random string library because of deprecated code in old one 2019-08-05 21:42:26 +02:00
Daniel Seifert 6731246784 initial implementation for frontend check 2019-08-02 00:23:21 +02:00
Daniel Seifert d6d1f976dc initial implementation for frontend check 2019-07-31 22:43:34 +02:00
Daniel Seifert a42121b4bc move backup codes to separate db table, clear backup code if used or new codes are generated 2019-07-28 23:00:30 +02:00