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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user