mirror of
https://github.com/jpace121/j7s-jwt-mosquitto-auth.git
synced 2026-11-03 15:27:46 +00:00
Remove debug text. Cut new release.
This commit is contained in:
1 parent
0234131aa3
commit
55150af8c4
2 files changed
+6
-1
No files matched your search
Vendored
+6
@@ -1,3 +1,9 @@
|
|||||||
|
j7s-mosquitto-plugin (0.0.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Load multiple keys per user.
|
||||||
|
|
||||||
|
-- James Pace <jpace121@gmail.com> Sat, 2 Apr 2022 00:14:50 +0000
|
||||||
|
|
||||||
j7s-mosquitto-plugin (0.0.2-1) unstable; urgency=medium
|
j7s-mosquitto-plugin (0.0.2-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Update to ES256.
|
* Update to ES256.
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ bool Authorizer::add(const std::string &token, const std::string &username)
|
|||||||
const bool validated = [token, username, keys]() {
|
const bool validated = [token, username, keys]() {
|
||||||
for (const auto key : keys)
|
for (const auto key : keys)
|
||||||
{
|
{
|
||||||
std::cout << "Trying..." << std::endl;
|
|
||||||
if (validate(token, username, key))
|
if (validate(token, username, key))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in new issue
Block a user