mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-15 03:02:39 -04:00
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.
This commit is contained in:
10
modules/gallery/views/reauthenticate.html.php
Normal file
10
modules/gallery/views/reauthenticate.html.php
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user