mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Add a button to the user profile page to let you reset your REST API
key. This is useful if you think it's been compromised in some way. Fixes ticket #1226.
This commit is contained in:
7
modules/rest/views/reset_api_key_confirm.html.php
Normal file
7
modules/rest/views/reset_api_key_confirm.html.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<div id="g-rest-reset-api-key" class="ui-helper-clearfix">
|
||||
<p>
|
||||
<?= t("Do you really want to reset your REST API key? Any clients that use this key will need to be updated with the new value.") ?>
|
||||
</p>
|
||||
<?= $form ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user