forgejo/services/auth
Clar Fon 036dd8a788
Rework mailer settings (#18982)
* `PROTOCOL`: can be smtp, smtps, smtp+startls, smtp+unix, sendmail, dummy
* `SMTP_ADDR`: domain for SMTP, or path to unix socket
* `SMTP_PORT`: port for SMTP; defaults to 25 for `smtp`, 465 for `smtps`, and 587 for `smtp+startls`
* `ENABLE_HELO`, `HELO_HOSTNAME`: reverse `DISABLE_HELO` to `ENABLE_HELO`; default to false + system hostname
* `FORCE_TRUST_SERVER_CERT`: replace the unclear `SKIP_VERIFY`
* `CLIENT_CERT_FILE`, `CLIENT_KEY_FILE`, `USE_CLIENT_CERT`: clarify client certificates here

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-02 13:24:18 +08:00
..
source Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
auth.go Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
auth_test.go
basic.go Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
group.go
httpsign.go Implement http signatures support for the API (#17565) 2022-06-05 08:16:14 +01:00
interface.go
oauth2.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
reverseproxy.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
session.go
signin.go Restore user autoregistration with email addresses (#19261) 2022-03-31 15:20:25 +02:00
source.go
sspi_windows.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
sync.go