summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-05-20 09:29:57 +0100
committerGitHub <noreply@github.com>2021-05-20 09:29:57 +0100
commit17be64549845a53f3954f0f2190c085affe7a13f (patch)
treefb9b1afc48cd1b7541ebe71bf8d4dbbffa6375be /options
parent124b256c53a80e56df7465d2039c8d2a5f6fae2d (diff)
downloadgitea-17be64549845a53f3954f0f2190c085affe7a13f.tar.gz
gitea-17be64549845a53f3954f0f2190c085affe7a13f.zip
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>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 0 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index ac1a0d9726..ab7367ba7a 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -2283,7 +2283,6 @@ auths.host = Host
auths.port = Port
auths.bind_dn = Bind DN
auths.bind_password = Bind Password
-auths.bind_password_helper = Warning: This password is stored in plain text. Use a read-only account if possible.
auths.user_base = User Search Base
auths.user_dn = User DN
auths.attribute_username = Username Attribute