summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-06 17:43:33 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-06 17:43:33 -0800
commit163391ee391627f9c2b4eac359104809e2706a9b (patch)
tree18ea044ca1afe754790bfdfc00164bb31dbf060b /modules/gallery
parent6a9c6163d60ea2e7bb3c6657869c9a506ed7267c (diff)
Partial fix for ticket 585: Require current password when changing an account's email address.
Still leaving the user/group admin page wide open though.
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/views/user_profile.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/views/user_profile.html.php b/modules/gallery/views/user_profile.html.php
index 78e1c579..1c3e4ea2 100644
--- a/modules/gallery/views/user_profile.html.php
+++ b/modules/gallery/views/user_profile.html.php
@@ -63,6 +63,9 @@
<a class="g-button ui-icon-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_password/{$user->id}") ?>">
<?= t("Change password") ?>
</a>
+ <a class="g-button ui-icon-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_email/{$user->id}") ?>">
+ <?= t("Change email") ?>
+ </a>
<? endif ?>
<a id="g-profile-return" class="g-button ui-icon-right ui-state-default ui-corner-all" href="#">