summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-10 20:10:40 +0100
committerGitHub <noreply@github.com>2018-01-10 20:10:40 +0100
commit03a7d9bbfafa10934f4d94216a3f174a5dcffab4 (patch)
tree809694d26021f582a2cf10730826654f9b31ea66 /lib
parent4823ac969a1fc917e1efab4d2b84028d932cb56b (diff)
parent9c22e99331fe7261c575bc26e2381d78c189521d (diff)
downloadnextcloud-server-03a7d9bbfafa10934f4d94216a3f174a5dcffab4.tar.gz
nextcloud-server-03a7d9bbfafa10934f4d94216a3f174a5dcffab4.zip
Merge pull request #7635 from Abijeet/bug-7106
Fixes password input being prompted every time.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/JSConfigHelper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Template/JSConfigHelper.php b/lib/private/Template/JSConfigHelper.php
index bdb747e1c9f..9f93ef784bc 100644
--- a/lib/private/Template/JSConfigHelper.php
+++ b/lib/private/Template/JSConfigHelper.php
@@ -155,6 +155,7 @@ class JSConfigHelper {
"oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
"datepickerFormatDate" => json_encode($this->l->l('jsdate', null)),
'nc_lastLogin' => $lastConfirmTimestamp,
+ 'nc_pageLoad' => time(),
"dayNames" => json_encode([
(string)$this->l->t('Sunday'),
(string)$this->l->t('Monday'),