Commit Graph

443 Commits

Author SHA1 Message Date
Elias Luhr
9aea9c76c0 Always save the user account when created via the social network authenticate service 2024-01-05 15:27:13 +01:00
Elias Luhr
8f18c51cf2 Use new property to enable social network registration in registration controller 2024-01-05 15:26:40 +01:00
Elias Luhr
edfbc44c52 Add separate property for social network registration 2024-01-05 15:05:26 +01:00
Elias Luhr
a7e044febf Make user id attribute for social network authentification configurable 2024-01-05 14:56:15 +01:00
Lorenzo Milesi
eb53c980c4 Merge pull request #522 from arollmann/patch-4
Add missing French translations
2024-01-04 05:30:33 +01:00
Lorenzo Milesi
be1db7deee Merge branch 'master' into feature/524_cant_scan_qrcode_fix 2024-01-04 05:16:56 +01:00
enrico.degaudenzi@connectorly.io
85ff5f682d Merge branch 'develop' into feature/530_welcome_email_reported_password_is_not_html_encoded 2023-12-22 14:30:14 +00:00
enrico.degaudenzi@connectorly.io
2c0f7e986f Merge branch 'develop' into feature/524_cant_scan_qrcode_fix 2023-12-22 11:24:33 +00:00
niciz
ed5ae8fca5 Merge branch '2amigos:master' into patch-1 2023-12-15 18:31:08 +01:00
niciz
2ca349964f Update PasswordExpireService.php
remove useless if statement
2023-12-15 13:54:27 +01:00
Lorenzo Milesi
cb93930962 Merge pull request #526 from liviuk2/master
UserSearch avoid fields name conflict if joined with other tables
2023-12-15 12:30:27 +01:00
Lorenzo Milesi
739c0cad41 Merge pull request #519 from deadmantfa/master
🐛 fix(2FA): Two Factor Authentication - Filter - Blocks even when two…
2023-12-15 12:14:54 +01:00
niciz
3d8c4c747d Update PasswordExpireService.php
Fix PasswordExpireService return error when user model attribute "password_changed_at" is already set at null.
2023-11-21 14:19:17 +01:00
enrico.degaudenzi@connectorly.io
0b6a78f0cb 530 Welcome email: reported Password is now HTML-encoded 2023-11-13 12:10:08 +00:00
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 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 Tarenzi
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