gitea/services/auth
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
..
source Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
auth_test.go
auth.go
basic.go
group.go
httpsign.go
interface.go
middleware.go
oauth2.go
reverseproxy.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
session.go
signin.go
source.go
sspi_windows.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
sync.go