forgejo/modules/auth
zeripath 17be645498
Encrypt LDAP bind password in db with SECRET_KEY (#15547)
* Encrypt LDAP bind password in db with SECRET_KEY

The LDAP source bind password are currently stored in plaintext in the db
This PR simply encrypts them with the setting.SECRET_KEY.

Fix #15460

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

* remove ui warning regarding unencrypted password

Co-authored-by: silverwind <me@silverwind.io>
2021-05-20 09:29:57 +01:00
..
ldap Encrypt LDAP bind password in db with SECRET_KEY (#15547) 2021-05-20 09:29:57 +01:00
oauth2 OAuth2 auto-register (#5123) 2021-04-14 14:02:12 +02:00
openid Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pam Add some Unit-Tests (#14500) 2021-01-28 19:08:11 +01:00
sso Create a session on ReverseProxy and ensure that ReverseProxy users cannot change username (#15304) 2021-05-15 20:33:13 +02:00