mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] portal_url for ynhanel.json
This commit is contained in:
parent
febc74aa20
commit
27c40011b7
1 changed files with 10 additions and 9 deletions
19
access.lua
19
access.lua
|
@ -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 = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue