Captcha now loads on registration form

Captcha now loads on registration form
This commit is contained in:
aftercase 2021-07-15 20:41:07 +01:00
parent 3b16f2b2a2
commit 64adb71d2a
2 changed files with 10 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -275,16 +275,15 @@ $start = $time;
</label> </label>
</div> </div>
<div class="field"> <div class="field">
<img id="captcha" src="https://ponepaste.org/captcha/securimage_show.php" <div class="notification">
alt="CAPTCHA Image"/> <span class="tags are-large"><?php echo '<img src="' . $_SESSION['captcha']['image_src'] . '" alt="CAPTCHA" class="imagever">'; ?></span>
<input type="text" class="input" name="scode" value=""
placeholder="<?php echo $lang['entercode']; ?>">
<p class="is-size-6 has-text-grey-light has-text-left mt-2">and press
"Enter"</p>
</div>
</div>
</div> </div>
<div class="field">
<input required type="text" name="captcha_code" size="10" maxlength="6"/>
<a href="#"
onclick="document.getElementById('captcha').src = 'captcha/securimage_show.php?' + Math.random(); return false">[
Different Image ]</a>
</div>
</div>
<input class="button is-link is-fullwidth my-4" type="submit" name="signup" value="Register" <input class="button is-link is-fullwidth my-4" type="submit" name="signup" value="Register"
value="<?php echo md5($date . $ip); ?>"> value="<?php echo md5($date . $ip); ?>">
<div class="field"> <div class="field">