go back to jwt-cpp as PR merged

This commit is contained in:
Pliable Pixels 2019-05-05 14:32:09 -04:00
parent 37040f33a8
commit ca3f65deef
3 changed files with 2 additions and 5 deletions

3
.gitmodules vendored
View File

@ -8,6 +8,3 @@
[submodule "third_party/bcrypt"]
path = third_party/bcrypt
url = https://github.com/pliablepixels/libbcrypt
[submodule "third_party/jwt-cpp"]
path = third_party/jwt-cpp
url = https://github.com/pliablepixels/jwt-cpp

1
third_party/jwt-cpp vendored

@ -1 +0,0 @@
Subproject commit 3dbc5a0929aa3e53a47cbffac546f3d7877c41b5

View File

@ -233,7 +233,8 @@ function generateAuthHash($useRemoteAddr, $force=false) {
$token = array(
"iss" => "ZoneMinder",
"iat" => $issuedAt,
"exp" => $expireAt
"exp" => $expireAt,
"user" => $_SESSION['username']
);