mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Make account registration work with recent account editing changes
The account editing form requires two different form action URLs due to the fact that the same template is shared for both account registration and account editing. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
98ab6515b4
commit
0afe82f87c
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
||||||
|
<?php if ($A == "UpdateAccount"): ?>
|
||||||
<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post">
|
<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post">
|
||||||
|
<?php else: ?>
|
||||||
|
<form action="<?php echo get_uri('/register/'); ?>" method="post">
|
||||||
|
<?php endif; ?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<input type="hidden" name="Action" value="<?php echo $A ?>" />
|
<input type="hidden" name="Action" value="<?php echo $A ?>" />
|
||||||
<?php if ($UID): ?>
|
<?php if ($UID): ?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue