cd7d74d9a1
UserSearch avoid fields name conflict if joined with other tables
2023-10-16 11:03:28 +02:00
bbd206ac1c
#524 Two Factor - Authenticator App - now offers the end-user a "Can't scan?" fallback
2023-10-06 15:49:31 +01:00
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
8c7e91f649
Update usuario.php
...
Added missing French translations
2023-09-09 17:42:22 +02:00
6effd2cc73
chore: consistency
2023-06-20 23:12:24 +02:00
bbfa6e8a95
chore: fix typos and improve grammar
2023-06-20 23:06:39 +02:00
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
a0a20ec742
feat(i18n): update NL translations
2023-05-25 00:56:45 +02:00
14e3c11c4f
Added possibility to limit the depth of the recursion when getting user ids from roles
2023-04-05 16:37:50 +02:00
7216c67854
Possibility to get user ids from roles recursively
2023-04-03 16:34:48 +02:00
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
7bdaeb2202
Possibility to call all the api endpoints with id or username or email
2023-02-22 14:31:12 +01:00
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
1fd1febaa4
Update LoginWidget.php
...
Fix LoginWidget viewPath
2023-01-30 14:20:09 +01:00
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
5f6b591bac
PL translations
...
Updated PL lang
2023-01-02 13:38:09 +01:00
406fa591f3
php-cs-fixer fix
2022-12-29 22:58:51 +01:00
fdb53cfe7a
Updated IT translation
2022-12-29 11:19:32 +01:00
1022d98e26
Update strings
2022-12-29 11:04:35 +01:00
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
562d7eff43
User model emailTrim validator only if not empty
2022-12-20 15:36:17 +01:00
4c9ef3df9b
Update LoginForm model added method setUser ( #484 )
2022-12-16 11:59:46 +01:00
45a0e0e9de
Fixed prefix for REST APIs
2022-11-24 10:16:30 +01:00
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
1c16ece741
fixed userBlockService controller type check to use "instanceof" to allow overridden controllers
2022-10-05 13:35:35 +03:00
08e1355753
Added the possibility to enable/disable REST APIs
2022-09-22 17:19:24 +02:00
312861c854
Fixs for automatic checks
2022-09-22 16:17:06 +02:00
ced062856f
Added REST admin controller
2022-09-22 16:06:44 +02:00
b680784f66
php-cs-fixer run
2022-09-22 11:17:46 +02:00
b4ba918a45
Re-updated strings
2022-09-22 11:14:42 +02:00
3ada36cbba
Merge branch 'master' of github.com:2amigos/yii2-usuario
2022-09-22 11:14:28 +02:00
0e7324b762
Updated strings
2022-09-22 11:14:18 +02:00
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
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
ec665e1cc2
missed one ...
2022-09-08 14:07:34 +03:00
569b049011
implement module viewPath in all views instead of static file reference
2022-09-08 09:41:08 +03:00
db232f150a
fixed translations not initialized
2022-09-06 09:53:46 +03:00
475f9c2c8f
fix typo to allow filtering on Last login IP field
2022-08-19 01:52:53 +03:00
99271a55c3
Removed useless double string
2022-08-15 08:16:50 +02:00
ca84ceca4b
PHP-CS-Fixer run
2022-08-15 08:16:03 +02:00
7fb900dfe1
#458 - fix on variables not initialized
2022-08-12 16:39:59 +02:00
34981c8d4f
Files left out of merge
2022-08-12 09:47:02 +02:00
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
902970c718
#458 fix on email subject message and on send sms
2022-08-11 12:15:53 +02:00
368563dcc0
Phpstan fix ( #465 )
...
phpstan level 2: services and i18n
2022-08-11 10:27:04 +02:00
7147236e68
Merge branch 'master' into master
2022-08-11 09:53:06 +02:00
ad3b629ee7
Merge branch 'master' into static-code-analyzer
2022-08-11 09:50:37 +02:00
c83692f277
Update PHP-CS-Fixer to v3.x ( #460 )
2022-08-11 09:47:33 +02:00
c73776698e
Merge branch 'master' of github.com:2amigos/yii2-usuario
2022-08-11 09:39:24 +02:00
3d24f20e03
Merge branch 'change-email-footer'
2022-08-11 09:35:48 +02:00