Differential D12793 Diff 35512 databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp
Changeset View
Changeset View
Standalone View
Standalone View
databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- arangod/RestHandler/RestAuthHandler.cpp.orig 2017-11-15 11:23:07 UTC | |||||
+++ arangod/RestHandler/RestAuthHandler.cpp | |||||
@@ -59,7 +59,7 @@ std::string RestAuthHandler::generateJwt | |||||
VPackObjectBuilder p(&bodyBuilder); | |||||
bodyBuilder.add("preferred_username", VPackValue(username)); | |||||
bodyBuilder.add("iss", VPackValue("arangodb")); | |||||
- bodyBuilder.add("exp", VPackValue(exp.count())); | |||||
+ bodyBuilder.add("exp", VPackValue((int64_t)exp.count())); | |||||
} | |||||
return authentication->authInfo()->generateJwt(bodyBuilder); | |||||
} |