[fix] portal_url for ynhanel.json

This commit is contained in:
kload 2014-05-14 22:27:07 +00:00
parent febc74aa20
commit 27c40011b7

View file

@ -397,15 +397,16 @@ function get_data_for(view)
local mails = get_mails(user)
data = {
title = user.." <small>"..cache:get(user.."-cn").."</small>",
connected = true,
uid = user,
cn = cache:get(user.."-cn"),
sn = cache:get(user.."-sn"),
givenName = cache:get(user.."-givenName"),
mail = mails["mail"],
mailalias = mails["mailalias"],
maildrop = mails["maildrop"],
title = user.." <small>"..cache:get(user.."-cn").."</small>",
connected = true,
portal_url = portal_url,
uid = user,
cn = cache:get(user.."-cn"),
sn = cache:get(user.."-sn"),
givenName = cache:get(user.."-givenName"),
mail = mails["mail"],
mailalias = mails["mailalias"],
maildrop = mails["maildrop"],
app = {}
}