Skip to content

Commit b93ebfd

Browse files
Increased salt length to make strong JWT secret (#5324)
Signed-off-by: Sarthak Jain <[email protected]>
1 parent ebfc81a commit b93ebfd

File tree

1 file changed

+1
-1
lines changed
  • chaoscenter/authentication/api/handlers

1 file changed

+1
-1
lines changed

chaoscenter/authentication/api/handlers/salt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func AddSalt(service services.ApplicationService) error {
2222
return nil
2323
}
2424

25-
salt, err := utils.RandomString(6)
25+
salt, err := utils.RandomString(32)
2626
if err != nil {
2727
log.Error(err)
2828
return err

0 commit comments

Comments
 (0)