mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-23 06:35:45 -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
|
public function get(): string
|
||||||
{
|
{
|
||||||
global $lang;
|
|
||||||
|
|
||||||
$_SESSION['phrase'] = $this->captcha->getPhrase();
|
$_SESSION['phrase'] = $this->captcha->getPhrase();
|
||||||
$this->captcha->build();
|
$this->captcha->build();
|
||||||
|
|
||||||
return "
|
return "
|
||||||
<img alt='{$lang['CAPTCHA']}' src=" . $this->captcha->inline() . " /><br />
|
<img src=" . $this->captcha->inline() . " /><br />
|
||||||
<input type='text' name='captcha_phrase' />
|
<input type='text' name='captcha_phrase' />
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue