Use `vb5Argon2` as password algorithm
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 21 Feb 2022 09:06:52 +0000 (10:06 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 21 Feb 2022 09:06:52 +0000 (10:06 +0100)
See WoltLab/WCF@d29c66fda64ffdaaf16db07e04a67f7b6d6f93fd
See d7f9e04924a657800e31e70958389856f8215a50

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

index dc818ee2f6220699fe143f9a93e625bac5302264..6b3a979ee2bcbf928981ee96648bec0a76388cbc 100644 (file)
@@ -460,7 +460,7 @@ class VB5xExporter extends AbstractExporter
                 if (StringUtil::startsWith($row['scheme'], 'blowfish')) {
                     $password = 'vb5Bcrypt:' . $row['token'];
                 } elseif (StringUtil::startsWith($row['scheme'], 'argon2')) {
-                    $password = 'argon2:' . $row['token'];
+                    $password = 'vb5Argon2:' . $row['token'];
                 } elseif ($row['scheme'] == 'legacy') {
                     $password = 'vb5:' . \implode(':', \explode(' ', $row['token'], 2));
                 } else {