Skip to content

feat: use pwd for token instead of username#1

Merged
PranishShresth merged 2 commits intomasterfrom
feature/verify-pwd
Aug 14, 2025
Merged

feat: use pwd for token instead of username#1
PranishShresth merged 2 commits intomasterfrom
feature/verify-pwd

Conversation

@PranishShresth
Copy link
Collaborator

@PranishShresth PranishShresth commented Aug 13, 2025

Use pwd for JWT verification
Cleanup

@PranishShresth PranishShresth force-pushed the feature/verify-pwd branch 2 times, most recently from f1e8712 to c0e5aeb Compare August 13, 2025 06:12
@PranishShresth PranishShresth force-pushed the feature/verify-pwd branch 4 times, most recently from 94cc57b to aaf51ed Compare August 13, 2025 06:49

const std::string token = username; // In a real application, you would get the token from the username or password field.
const std::string token = password;
flashmq_logf(LOG_INFO, "token: %s", token.c_str());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

printing token might not be a good idea

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have already removed this code :)

@PranishShresth PranishShresth merged commit 09f4015 into master Aug 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants