From 691925938b50e3b597154a71f73233e9955b47c9 Mon Sep 17 00:00:00 2001 From: yy <56745951+lingdie@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:56:50 +0800 Subject: [PATCH] Fix license (#4129) * fix license base64 decode salt. Signed-off-by: yy * fix PASSWORD_SALT typo. Signed-off-by: yy --------- Signed-off-by: yy --- controllers/job/init/internal/util/database/password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/job/init/internal/util/database/password.go b/controllers/job/init/internal/util/database/password.go index 2a92b637144..6072e0571c8 100644 --- a/controllers/job/init/internal/util/database/password.go +++ b/controllers/job/init/internal/util/database/password.go @@ -7,7 +7,7 @@ import ( ) var ( - saltKey = os.Getenv("PASSWORD_SALT_KEY") + saltKey = os.Getenv("PASSWORD_SALT") ) func hashPassword(password string) string {