Changing JWT output to stdout and change to help text

This commit is contained in:
Aditya Ujeniya
2025-12-17 15:58:42 +01:00
parent b8fdfc30c0
commit d2f2d78954
5 changed files with 34 additions and 13 deletions

View File

@@ -263,7 +263,7 @@ func generateJWT(authHandle *auth.Authentication, username string) error {
return fmt.Errorf("generating JWT for user '%s': %w", user.Username, err)
}
cclog.Infof("JWT: Successfully generated JWT for user '%s': %s", user.Username, jwt)
fmt.Printf("JWT: Successfully generated JWT for user '%s': %s\n", user.Username, jwt)
return nil
}