Switch back to 'luajwt' in order to fix broken JWT

Temporarily reference 'luajwtjitsi' luarock for immediate
deployment until our changes with RS256 support
eventually get merged with the master
This commit is contained in:
paweldomas 2016-08-02 12:34:32 -05:00
parent ff68caaa16
commit 9f3c209096
2 changed files with 3 additions and 3 deletions

View File

@ -67,8 +67,8 @@ case "$1" in
sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG sed -i 's/ --modules_enabled = { "token_verification" }/ modules_enabled = { "token_verification" }/g' $PROSODY_HOST_CONFIG
# Install luajwt # Install luajwt
if ! luarocks install jwt; then if ! luarocks install luajwtjitsi; then
echo "Failed to install jwt - try installing it manually" echo "Failed to install luajwtjitsi - try installing it manually"
fi fi
if [ -x "/etc/init.d/prosody" ]; then if [ -x "/etc/init.d/prosody" ]; then

View File

@ -1,7 +1,7 @@
-- Token authentication -- Token authentication
-- Copyright (C) 2015 Atlassian -- Copyright (C) 2015 Atlassian
local jwt = require "jwt"; local jwt = require "luajwtjitsi";
local _M = {}; local _M = {};