forgejo/services
Gusted 4383da91bd
[SECURITY] Notify users about account security changes
- Currently if the password, primary mail, TOTP or security keys are
changed, no notification is made of that and makes compromising an
account a bit easier as it's essentially undetectable until the original
person tries to log in. Although other changes should be made as
well (re-authing before allowing a password change), this should go a
long way of improving the account security in Forgejo.
- Adds a mail notification for password and primary mail changes. For
the primary mail change, a mail notification is sent to the old primary
mail.
- Add a mail notification when TOTP or a security keys is removed, if no
other 2FA method is configured the mail will also contain that 2FA is
no longer needed to log into their account.
- `MakeEmailAddressPrimary` is refactored to the user service package,
as it now involves calling the mailer service.
- Unit tests added.
- Integration tests added.
2024-07-23 18:31:47 +02:00
..
actions fix(actions): no edited event triggered when a title is changed 2024-07-22 11:25:20 +02:00
agit
asymkey
attachment
auth allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-22 15:44:13 +02:00
automerge
context
contexttest
convert
cron
doctor
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-22 15:44:13 +02:00
f3
federation
feed
forgejo
forms Fix: Allow org team names of length 255 in create team form (#31564) 2024-07-14 11:16:34 +02:00
gitdiff
indexer
issue
lfs
mailer [SECURITY] Notify users about account security changes 2024-07-23 18:31:47 +02:00
markup
migrations
mirror
notify
org
packages Remove hardcoded filenames for better readability 2024-07-17 23:20:48 +02:00
pull Fix slow patch checking with commits that add or remove many files (#31548) 2024-07-07 07:33:01 +02:00
release
remote
repository Add YEAR, MONTH, MONTH_ENGLISH, DAY variables for template repos (#31584) 2024-07-14 11:14:11 +02:00
secrets
task
uinotification
user [SECURITY] Notify users about account security changes 2024-07-23 18:31:47 +02:00
webhook Use old behavior for telegram webhook (#31588) 2024-07-14 20:53:26 +02:00
wiki