[FORUM] Update RosLogin auth provider plugin for phpBB 3.3.x.

user_email_hash was removed in phpBB 3.3.0, so we shouldn't try to update it anymore.
See 4897c3ccc4/phpBB/phpbb/db/migration/data/v330/remove_email_hash.php
This commit is contained in:
Colin Finck 2021-02-01 20:53:05 +01:00
parent 8ace3c2339
commit e04f05eba2
No known key found for this signature in database
GPG Key ID: 1BA74E70456BA1A9

View File

@ -3,7 +3,7 @@
* PROJECT: RosLogin - A simple Self-Service and Single-Sign-On around an LDAP user directory
* LICENSE: AGPL-3.0-or-later (https://spdx.org/licenses/AGPL-3.0-or-later)
* PURPOSE: Authentication Plugin for phpBB
* COPYRIGHT: Copyright 2018 Colin Finck (colin@reactos.org)
* COPYRIGHT: Copyright 2018-2021 Colin Finck (colin@reactos.org)
*/
namespace reactos\roslogin\auth\provider;
@ -29,7 +29,6 @@
// No, then update the phpBB database.
$sql_ary = array(
'user_email' => $email,
'user_email_hash' => phpbb_email_hash($email)
);
$sql = 'UPDATE ' . USERS_TABLE . '