mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 22:20:01 +08:00
feat: fix bug that fails to login when PasswordObfuscator is enabled (#3299)
This commit is contained in:
@ -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") {
|
||||||
|
Reference in New Issue
Block a user