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:
Bharat Mediratta
2010-08-08 21:49:30 -07:00
parent 639d31a2c1
commit 0014745d4a
5 changed files with 36 additions and 7 deletions

View 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>