diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-08-25 11:53:13 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-08-25 11:53:13 +0300 |
commit | 2b861f2421dc4f792f4596125de07ac15ee7423b (patch) | |
tree | 3bf4c532d69d85e2692dc50b11bb5a4d5ee63927 /templates | |
parent | c258423c5da86b56dc1c7ba183e9eb8fff10b77f (diff) |
inject prefilled data
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 4 |
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> |