mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
feat: fix bug that fails to login when PasswordObfuscator is enabled (#3299)
This commit is contained in:
parent
69d26d5c21
commit
6fcdad2100
@ -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") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user