diff --git a/access.lua b/access.lua
index 05b08bc..09d7c7e 100644
--- a/access.lua
+++ b/access.lua
@@ -397,15 +397,16 @@ function get_data_for(view)
local mails = get_mails(user)
data = {
- title = user.." "..cache:get(user.."-cn").."",
- 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.." "..cache:get(user.."-cn").."",
+ 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 = {}
}