forgejo/services/auth
zeripath 162c32af7e
Send registration email on user autoregistration (#16523)
When users login and are autoregistered send email notification.

Fix #16178

* Protect public functions within the mailer by testing if the mailer is configured

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-08-12 10:26:33 +03:00
..
source Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
auth.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
auth_test.go Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 2021-06-09 19:53:16 +02:00
basic.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
group.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
interface.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
oauth2.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
placeholder.go Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 2021-06-09 19:53:16 +02:00
reverseproxy.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
session.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
signin.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
sspi_windows.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
sync.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00