webbuild-cgi: alway exit early on refreshsocial request

This commit is contained in:
Silvan Calarco 2015-09-19 23:15:48 +02:00
parent c3c5a9009e
commit 8b9ee4a7b2

View File

@ -259,7 +259,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
fi fi
fi fi
if [ "$USER_ENABLED" != "1" ]; then if [ "$USER_ENABLED" != "1" -o "$REQUEST" = "refreshsocial" ]; then
echo -n "</webbuild>" echo -n "</webbuild>"
exit exit
fi fi