diff options
author | canyonknight <canyonknight@gmail.com> | 2012-09-15 16:02:10 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 00:59:29 +0200 |
commit | d6f89f97c08d7eeb805246dc94a835057d53243d (patch) | |
tree | 391c79462c4c4353d35995b372ab11d7ce7cd3bc /web/template/account_edit_form.php | |
parent | 5c0de7825d2f1680a2a430410be49696aca35946 (diff) | |
download | aur-d6f89f97c08d7eeb805246dc94a835057d53243d.tar.gz aur-d6f89f97c08d7eeb805246dc94a835057d53243d.tar.xz |
Use URL rewriting for user account update page
The "UpdateAccount" page displays information as to whether an account
update was successful. All POST account info goes to this page, so use
it with sane URLs.
Before:
AUR_URL/account/?Action=UpdateAccount&U=userfoo
After:
AUR_URL/account/userfoo/update
Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/account_edit_form.php')
-rw-r--r-- | web/template/account_edit_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 7da8e337..9b5b1d8b 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -1,4 +1,4 @@ -<form action="<?php echo get_uri('/account/'); ?>" method="post"> +<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post"> <fieldset> <input type="hidden" name="Action" value="<?php echo $A ?>" /> <?php if ($UID): ?> |