1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17414] Replace confirm types with enum

PHPBB-17414
This commit is contained in:
Marc Alexander
2024-10-13 17:13:01 +02:00
parent 589fe70be6
commit 48454308ae
8 changed files with 36 additions and 19 deletions

View File

@@ -176,7 +176,7 @@ class db extends base
// Every auth module is able to define what to do by itself...
if ($show_captcha)
{
$captcha->init(\phpbb\captcha\plugins\plugin_interface::CONFIRM_LOGIN);
$captcha->init(\phpbb\captcha\plugins\confirm_type::LOGIN);
if ($captcha->validate() !== true)
{
return array(