Skip to content

Commit

Permalink
Fix license (labring#4129)
Browse files Browse the repository at this point in the history
* fix license base64 decode salt.

Signed-off-by: yy <[email protected]>

* fix PASSWORD_SALT typo.

Signed-off-by: yy <[email protected]>

---------

Signed-off-by: yy <[email protected]>
  • Loading branch information
lingdie committed Oct 20, 2023
1 parent f6c35d9 commit 6919259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/job/init/internal/util/database/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

var (
saltKey = os.Getenv("PASSWORD_SALT_KEY")
saltKey = os.Getenv("PASSWORD_SALT")
)

func hashPassword(password string) string {
Expand Down

0 comments on commit 6919259

Please sign in to comment.