Merge pull request #764 from jitsi/switch_to_luajwt
Switch back to 'luajwt' in order to fix broken JWT
This commit is contained in:
commit
e2c16c9c11
|
@ -67,8 +67,8 @@ case "$1" in
|
|||
sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
|
||||
|
||||
# Install luajwt
|
||||
if ! luarocks install jwt; then
|
||||
echo "Failed to install jwt - try installing it manually"
|
||||
if ! luarocks install luajwtjitsi; then
|
||||
echo "Failed to install luajwtjitsi - try installing it manually"
|
||||
fi
|
||||
|
||||
if [ -x "/etc/init.d/prosody" ]; then
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- Token authentication
|
||||
-- Copyright (C) 2015 Atlassian
|
||||
|
||||
local jwt = require "jwt";
|
||||
local jwt = require "luajwtjitsi";
|
||||
|
||||
local _M = {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue