forgejo/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.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
auth_test.go
basic.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
group.go
httpsign.go
interface.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
middleware.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
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