1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-24 12:15:48 +00:00
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 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
basic.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
group.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
httpsign.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
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 Implement actions (#21937) 2023-01-31 09:45:19 +08:00
reverseproxy.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
session.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
signin.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
sspi_windows.go Do not send "registration success email" for external auth sources (#24632) 2023-05-10 10:49:47 +00:00
sync.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00