forgejo/models/user
Gwyneth Morgan 9a1d5c549c
[gitea] Drop "@" from email sender to avoid spam filters (#29109)
Commit 360b3fd17c (Include username in email headers (#28981),
2024-02-03) adds usernames to the From field of notification emails in
the form of `Display Name (@username)`, to prevent spoofing. However,
some email filtering software flags "@" in the display name part of the
From field as potential spoofing, as you could set the display name part
to another email address than the one you are sending from (e.g.
`From: "apparent@email-address" <actual@email-address>`). To avoid
being flagged, instead send emails from `Display Name (username)`.

Closes: #29107

---------

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 5b2fd0fc19a2a77414c8e2989b4794b6617221f5)
2024-02-11 13:47:44 +01:00
..
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
badge.go
block.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
block_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
email_address.go [GITEA] Allow changing the email address before activation (squash) 2024-02-05 16:57:58 +01:00
email_address_test.go [GITEA] Allow changing the email address before activation (squash) 2024-02-05 16:57:58 +01:00
error.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
external_login_user.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
follow.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
follow_test.go
list.go
main_test.go
must_change_password.go
openid.go
openid_test.go
redirect.go
redirect_test.go
search.go
setting.go
setting_keys.go
setting_test.go
user.go [gitea] Drop "@" from email sender to avoid spam filters (#29109) 2024-02-11 13:47:44 +01:00
user_system.go [BRANDING] reserve forgejo-actions username 2024-02-05 16:05:01 +01:00
user_test.go Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
user_update.go