Commit 0afe82f8 authored by canyonknight's avatar canyonknight Committed by Lukas Fleischer
Browse files

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: default avatarcanyonknight <>
Signed-off-by: default avatarLukas Fleischer <>
parent 98ab6515
<?php if ($A == "UpdateAccount"): ?>
<form action="<?php echo get_user_uri($U) . 'update/'; ?>" method="post">
<?php else: ?>
<form action="<?php echo get_uri('/register/'); ?>" method="post">
<?php endif; ?>
<input type="hidden" name="Action" value="<?php echo $A ?>" />
<?php if ($UID): ?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment