Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-08-25 11:53:13 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2016-08-25 11:53:13 +0300
commit2b861f2421dc4f792f4596125de07ac15ee7423b (patch)
tree3bf4c532d69d85e2692dc50b11bb5a4d5ee63927 /templates
parentc258423c5da86b56dc1c7ba183e9eb8fff10b77f (diff)
inject prefilled data
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.php b/templates/index.php
index aa186ac28..1336066d1 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -43,9 +43,9 @@ if ($_['debug']) {
<input type="hidden" id="serialized-accounts" value="<?php p($_['accounts']); ?>">
<div id="user-displayname"
- style="display: none"><?php p(\OCP\User::getDisplayName(\OCP\User::getUser())); ?></div>
+ style="display: none"><?php p($_['prefill_displayName']); ?></div>
<div id="user-email"
- style="display: none"><?php p(\OCP\Config::getUserValue(\OCP\User::getUser(), 'settings', 'email', '')); ?></div>
+ style="display: none"><?php p($_['prefill_email']); ?></div>
<div id="app">
<div id="app-navigation" class="icon-loading">
<div id="mail-new-message-fixed"></div>