0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-11 11:03:11 +01:00
gitea/services/auth/source/pam
wxiaoguang 0ca5adee16
Do not send "registration success email" for external auth sources (#24632)
Co-author: @pboguslawski 


"registration success email" is only used for notifying a user that "you
have a new account now" when the account is created by admin manually.

When a user uses external auth source, they already knows that they has
the account, so do not send such email.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-10 10:49:47 +00:00
..
assert_interface_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_authenticate.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00