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)
|
||||
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 = {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue