[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) local mails = get_mails(user)
data = { data = {
title = user.." <small>"..cache:get(user.."-cn").."</small>", title = user.." <small>"..cache:get(user.."-cn").."</small>",
connected = true, connected = true,
uid = user, portal_url = portal_url,
cn = cache:get(user.."-cn"), uid = user,
sn = cache:get(user.."-sn"), cn = cache:get(user.."-cn"),
givenName = cache:get(user.."-givenName"), sn = cache:get(user.."-sn"),
mail = mails["mail"], givenName = cache:get(user.."-givenName"),
mailalias = mails["mailalias"], mail = mails["mail"],
maildrop = mails["maildrop"], mailalias = mails["mailalias"],
maildrop = mails["maildrop"],
app = {} app = {}
} }