summaryrefslogtreecommitdiff
path: root/modules/gallery/views/reauthenticate.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-07 15:37:32 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-07 15:37:32 -0800
commitf93528ffab19b7a733fc8fb21c22853d8ec0d2f5 (patch)
tree29213dc93ad8d2edea6f7f5b3cd5bd3f0362885d /modules/gallery/views/reauthenticate.html.php
parent18b0096751f45d7946a2277070dd3dd1f5db4a89 (diff)
Last partial fix for ticket 585: Compartmentalize the admin area and require active authentication every 20 minutes to access the admin area.
Also renaming auth::validate_too_many_failed_password_changes to validate_too_many_failed_auth_attempts since it's used in this generalized way in 3 places now.
Diffstat (limited to 'modules/gallery/views/reauthenticate.html.php')
-rw-r--r--modules/gallery/views/reauthenticate.html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gallery/views/reauthenticate.html.php b/modules/gallery/views/reauthenticate.html.php
new file mode 100644
index 00000000..8611d0f7
--- /dev/null
+++ b/modules/gallery/views/reauthenticate.html.php
@@ -0,0 +1,10 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div>
+ <p>
+ <?= t("The administration session has expired, please re-authenticate to access the administration area.") ?>
+ </p>
+ <p>
+ <?= t("You are currently logged in as %user_name.", array("user_name" => $user_name)) ?>
+ </p>
+ <?= $form ?>
+</div> \ No newline at end of file