Browse Source

fix form action tag

main
ghost 1 year ago
parent
commit
b3f26fd215
  1. 2
      src/public/welcome.php

2
src/public/welcome.php

@ -105,7 +105,7 @@ else if (isset($_POST['public']))
<p class="margin-b-8"><?php echo _('YGGtracker use Yggdrasil address to identify users without registration') ?></p> <p class="margin-b-8"><?php echo _('YGGtracker use Yggdrasil address to identify users without registration') ?></p>
<p class="margin-b-16"><?php echo _('following address could be shared with independent nodes to allow you manage own content everywhere') ?></p> <p class="margin-b-16"><?php echo _('following address could be shared with independent nodes to allow you manage own content everywhere') ?></p>
<h2 class="margin-b-16"><?php echo $user->address ?></h2> <h2 class="margin-b-16"><?php echo $user->address ?></h2>
<form name="public" action="" method="post"> <form name="public" action="<?php echo sprintf('%s/welcome.php', WEBSITE_URL) ?>" method="post">
<div class="margin-b-16"> <div class="margin-b-16">
<label class="text-color-green margin-y-8 margin-x-4" for="public-1"> <label class="text-color-green margin-y-8 margin-x-4" for="public-1">
<input type="radio" id="public-1" name="public" value="1" checked="checked" /> <input type="radio" id="public-1" name="public" value="1" checked="checked" />

Loading…
Cancel
Save