feat: fix bug that fails to login when PasswordObfuscator is enabled (#3299)

This commit is contained in:
eya46 2024-10-19 23:09:59 +08:00 committed by GitHub
parent 69d26d5c21
commit 6fcdad2100
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@
import CryptoJS from "crypto-js"; import CryptoJS from "crypto-js";
import i18next from "i18next"; import i18next from "i18next";
import {Buffer} from "buffer";
export function getRandomKeyForObfuscator(obfuscatorType) { export function getRandomKeyForObfuscator(obfuscatorType) {
if (obfuscatorType === "DES") { if (obfuscatorType === "DES") {