Commit Graph
479 Commits
Author SHA1 Message Date
liviuk2 cd7d74d9a1 UserSearch avoid fields name conflict if joined with other tables 2023-10-16 11:03:28 +02:00
enrico.degaudenzi@connectorly.io bbd206ac1c #524 Two Factor - Authenticator App - now offers the end-user a "Can't scan?" fallback 2023-10-06 15:49:31 +01:00
Wenceslaus Dsilva 4b1536f934 fix(TwoFactorAuthenticationEnforceFilter.php): use $user variable instead of accessing Yii::$app->user->identity multiple times for better readability and performance
fix(MailService.php): remove unnecessary whitespace before $this->mailer to improve code formatting
2023-09-24 16:10:44 +05:30
Alain Rollmann 8c7e91f649 Update usuario.php
Added missing French translations
2023-09-09 17:42:22 +02:00
Johannes la Poutre 6effd2cc73 chore: consistency 2023-06-20 23:12:24 +02:00
Johannes la Poutre bbfa6e8a95 chore: fix typos and improve grammar 2023-06-20 23:06:39 +02:00
Wenceslaus Dsilva 40a76b1eda 🐛 fix(2FA): Two Factor Authentication - Filter - Blocks even when two factor authentication is enabled
🐛 fix(email): add error logging when email sending fails
🔒 chore(2FA): fix TwoFactorEmailValidator to pass user as an array
The TwoFactorAuthenticationEnforceFilter was blocking users even when two factor authentication was enabled. The filter now checks if the user has two factor authentication enabled before blocking them. The MailService now logs an error when email sending fails. The TwoFactorEmailValidator now passes the user as an array to the TwoFactorEmailCodeGeneratorService.
2023-05-25 21:01:42 +05:30
Johannes la Poutre a0a20ec742 feat(i18n): update NL translations 2023-05-25 00:56:45 +02:00
Marco Piazza 14e3c11c4f Added possibility to limit the depth of the recursion when getting user ids from roles 2023-04-05 16:37:50 +02:00
Marco Piazza 7216c67854 Possibility to get user ids from roles recursively 2023-04-03 16:34:48 +02:00
Jussi Aho f22148660b Use correct User model if overwritten in config
Two factor authentication doesn't work if the User model has been changed in the config from the modules own model class. This fix gets the correct User model from the class map.
2023-02-23 12:49:07 +02:00
Liviu Calin 7bdaeb2202 Possibility to call all the api endpoints with id or username or email 2023-02-22 14:31:12 +01:00
E.Alamo 22c994db6e Fix mispelling
The translation said: Paste the following text, while the original message is Paste the text. 
It can lead to confussion since there is nothing after that text in the emails.
2023-02-06 20:46:57 +01:00
niciz 1fd1febaa4 Update LoginWidget.php
Fix LoginWidget viewPath
2023-01-30 14:20:09 +01:00
Elias Luhr 20c2b6b3e5 Fixed password recovery link in welcome mail
And add this new feature to the plain text variant too
2023-01-09 15:43:52 +01:00
Bizley 5f6b591bac PL translations
Updated PL lang
2023-01-02 13:38:09 +01:00
Lorenzo Milesi 406fa591f3 php-cs-fixer fix 2022-12-29 22:58:51 +01:00
Lorenzo Milesi fdb53cfe7a Updated IT translation 2022-12-29 11:19:32 +01:00
Lorenzo Milesi 1022d98e26 Update strings 2022-12-29 11:04:35 +01:00
Lorenzo Milesi d19374afec Timezone fixes for php 8.1 (#490)
* Added simple test for TimeZoneHelper #461
* TimeZone offset: don't use float values for columns that could be array keys #461
2022-12-29 10:55:01 +01:00
liviuk2 562d7eff43 User model emailTrim validator only if not empty 2022-12-20 15:36:17 +01:00
liviuk2 4c9ef3df9b Update LoginForm model added method setUser (#484) 2022-12-16 11:59:46 +01:00
MatteoF96 45a0e0e9de Fixed prefix for REST APIs 2022-11-24 10:16:30 +01:00
Antonio CordedduandAntonio Cordeddu 582ecc9455 modified check access REST api for admin: now is based on identity (#482)
Co-authored-by: Antonio Cordeddu <coranto@yetopen.com>
2022-11-18 14:25:44 +01:00
tonis ormisson 1c16ece741 fixed userBlockService controller type check to use "instanceof" to allow overridden controllers 2022-10-05 13:35:35 +03:00
MatteoF96 08e1355753 Added the possibility to enable/disable REST APIs 2022-09-22 17:19:24 +02:00
MatteoF96 312861c854 Fixs for automatic checks 2022-09-22 16:17:06 +02:00
MatteoF96 ced062856f Added REST admin controller 2022-09-22 16:06:44 +02:00
Lorenzo Milesi b680784f66 php-cs-fixer run 2022-09-22 11:17:46 +02:00
Lorenzo Milesi b4ba918a45 Re-updated strings 2022-09-22 11:14:42 +02:00
Lorenzo Milesi 3ada36cbba Merge branch 'master' of github.com:2amigos/yii2-usuario 2022-09-22 11:14:28 +02:00
Lorenzo Milesi 0e7324b762 Updated strings 2022-09-22 11:14:18 +02:00
Pietro TarenziandLorenzo Milesi 5ea3404358 2FA: clear auth key from db when disabled
Co-authored-by: Lorenzo Milesi <lorenzo.milesi@yetopen.com>
2022-09-22 11:12:38 +02:00
Pietro Tarenzi 24d5d5744f Check user session before displaying two factor seed
Two factor seed page was not properly checking for user session, allowing an authenticated user to see everyone's 2fa seed
2022-09-16 17:14:53 +02:00
tonis ormisson ec665e1cc2 missed one ... 2022-09-08 14:07:34 +03:00
tonis ormisson 569b049011 implement module viewPath in all views instead of static file reference 2022-09-08 09:41:08 +03:00
tonis ormisson db232f150a fixed translations not initialized 2022-09-06 09:53:46 +03:00
Anton Shynkarenko 475f9c2c8f fix typo to allow filtering on Last login IP field 2022-08-19 01:52:53 +03:00
Lorenzo Milesi 99271a55c3 Removed useless double string 2022-08-15 08:16:50 +02:00
Lorenzo Milesi ca84ceca4b PHP-CS-Fixer run 2022-08-15 08:16:03 +02:00
Antonio Cordeddu 7fb900dfe1 #458 - fix on variables not initialized 2022-08-12 16:39:59 +02:00
Lorenzo Milesi 34981c8d4f Files left out of merge 2022-08-12 09:47:02 +02:00
Lorenzo Milesi 2face44d98 Merge branch '2fa-channels-email-sms' of https://github.com/acordeddu/yii2-usuario into acordeddu-2fa-channels-email-sms 2022-08-12 09:46:32 +02:00
Antonio Cordeddu 902970c718 #458 fix on email subject message and on send sms 2022-08-11 12:15:53 +02:00
Tõnis Ormisson 368563dcc0 Phpstan fix (#465)
phpstan level 2: services and i18n
2022-08-11 10:27:04 +02:00
Lorenzo Milesi 7147236e68 Merge branch 'master' into master 2022-08-11 09:53:06 +02:00
Lorenzo Milesi ad3b629ee7 Merge branch 'master' into static-code-analyzer 2022-08-11 09:50:37 +02:00
Lorenzo Milesi c83692f277 Update PHP-CS-Fixer to v3.x (#460) 2022-08-11 09:47:33 +02:00
Lorenzo Milesi c73776698e Merge branch 'master' of github.com:2amigos/yii2-usuario 2022-08-11 09:39:24 +02:00
Lorenzo Milesi 3d24f20e03 Merge branch 'change-email-footer' 2022-08-11 09:35:48 +02:00