Use `vb5Bcrypt` as password algorithm
authorjoshuaruesweg <ruesweg@woltlab.com>
Mon, 22 Nov 2021 11:40:52 +0000 (12:40 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Mon, 22 Nov 2021 11:40:52 +0000 (12:40 +0100)
See WoltLab/WCF@05e1bc5e7c72ed3347fd1018d9105dcb3c398efd

files/lib/system/exporter/VB5xExporter.class.php

index 1973e2a7caed95969e55c38098a40932ca7842e0..dc818ee2f6220699fe143f9a93e625bac5302264 100644 (file)
@@ -458,7 +458,7 @@ class VB5xExporter extends AbstractExporter
             // update password hash
             if ($newUserID) {
                 if (StringUtil::startsWith($row['scheme'], 'blowfish')) {
-                    $password = 'Bcrypt:' . $row['token'];
+                    $password = 'vb5Bcrypt:' . $row['token'];
                 } elseif (StringUtil::startsWith($row['scheme'], 'argon2')) {
                     $password = 'argon2:' . $row['token'];
                 } elseif ($row['scheme'] == 'legacy') {