summaryrefslogtreecommitdiff
path: root/databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-02-07 21:01:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-02-07 21:01:44 +0000
commitca98d073c82b6fd0d5d622d7a475639c13b7a638 (patch)
treeabfd7402e63b6523e26eed2db4cf0068c892c303 /databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp
parentprint/cups-filters: PORTREVSION bump for the print/qpdf library change in r46... (diff)
New port: databases/arangodb33: ArangoDB, branch for 3.3.X series, version 3.3.3
Forked from databases/arangodb32. https://www.arangodb.com/ PR: 224998 Submitted by: Vlad Galu <dev@dudu.ro> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13831
Notes
Notes: svn path=/head/; revision=461187
Diffstat (limited to 'databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp')
-rw-r--r--databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp b/databases/arangodb33/files/patch-arangod_RestHandler_RestAuthHandler.cpp
new file mode 100644
index 000000000000..b3134688347a
--- /dev/null
+++ b/databases/arangodb33/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);
+ }