0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 12:12:04 +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
source_authenticate.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
source.go