mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
go back to jwt-cpp as PR merged
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -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
third_party/jwt-cpp
vendored
Submodule third_party/jwt-cpp deleted from 3dbc5a0929
@@ -233,7 +233,8 @@ function generateAuthHash($useRemoteAddr, $force=false) {
|
||||
$token = array(
|
||||
"iss" => "ZoneMinder",
|
||||
"iat" => $issuedAt,
|
||||
"exp" => $expireAt
|
||||
"exp" => $expireAt,
|
||||
"user" => $_SESSION['username']
|
||||
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user