Skip to content

Commit e9bf6ca

Browse files
committed
Sync up with current libcups v3.
1 parent a637aca commit e9bf6ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libcups

Submodule libcups updated 126 files

moauthd/token.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// Token handling for moauth daemon
33
//
4-
// Copyright © 2017-2024 by Michael R Sweet
4+
// Copyright © 2017-2025 by Michael R Sweet
55
//
66
// Licensed under Apache License v2.0. See the file "LICENSE" for more information.
77
//
@@ -66,7 +66,7 @@ moauthdCreateToken(
6666
token->expires = token->created + server->max_token_life;
6767

6868
// Generate the JWT for the token...
69-
jwt = cupsJWTNew("JWT");
69+
jwt = cupsJWTNew("JWT", /*claims*/NULL);
7070
cupsJWTSetClaimString(jwt, "iss", token->user);
7171
cupsJWTSetClaimString(jwt, "scope", token->scopes);
7272
cupsJWTSetClaimNumber(jwt, "iat", (double)token->created);

0 commit comments

Comments
 (0)