go back to jwt-cpp as PR merged
This commit is contained in:
parent
37040f33a8
commit
ca3f65deef
|
@ -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 +0,0 @@
|
|||
Subproject commit 3dbc5a0929aa3e53a47cbffac546f3d7877c41b5
|
|
@ -233,7 +233,8 @@ function generateAuthHash($useRemoteAddr, $force=false) {
|
|||
$token = array(
|
||||
"iss" => "ZoneMinder",
|
||||
"iat" => $issuedAt,
|
||||
"exp" => $expireAt
|
||||
"exp" => $expireAt,
|
||||
"user" => $_SESSION['username']
|
||||
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue