diff options
author | Nikolai Lifanov <lifanov@FreeBSD.org> | 2017-11-21 15:47:53 +0000 |
---|---|---|
committer | Nikolai Lifanov <lifanov@FreeBSD.org> | 2017-11-21 15:47:53 +0000 |
commit | 82bff8505174beadf2c092ecea837efe4c826579 (patch) | |
tree | de50dbebfdf26625350e9eff8353519f437269de /databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp | |
parent | Fix post-patch target (diff) |
new port: databases/arangodb32
ArangoDB is a production ready highly available Multi-Model NoSQL database
PR: 223240
Submitted by: dev@dudu.ro
Differential Revision: https://reviews.freebsd.org/D12793
Notes
Notes:
svn path=/head/; revision=454616
Diffstat (limited to 'databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp')
-rw-r--r-- | databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp b/databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp new file mode 100644 index 000000000000..b3134688347a --- /dev/null +++ b/databases/arangodb32/files/patch-arangod_RestHandler_RestAuthHandler.cpp @@ -0,0 +1,11 @@ +--- 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); + } |