mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Update TextCaptcha.php
This commit is contained in:
parent
537baa0dd0
commit
a7b68544b7
1 changed files with 1 additions and 3 deletions
|
@ -49,13 +49,11 @@ class TextCaptcha implements CaptchaInterface
|
|||
*/
|
||||
public function get(): string
|
||||
{
|
||||
global $lang;
|
||||
|
||||
$_SESSION['phrase'] = $this->captcha->getPhrase();
|
||||
$this->captcha->build();
|
||||
|
||||
return "
|
||||
<img alt='{$lang['CAPTCHA']}' src=" . $this->captcha->inline() . " /><br />
|
||||
<img src=" . $this->captcha->inline() . " /><br />
|
||||
<input type='text' name='captcha_phrase' />
|
||||
";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue