mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
migrate-hust: remove deprecated usage
This commit is contained in:
1 parent
37822f0025
commit
fe340492b5
2 files changed
+5
-6
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import { } from 'hydrooj';
|
||||
import { md5, sha1 } from 'hydrooj/src/lib/crypto';
|
||||
|
||||
const { md5, sha1 } = global.Hydro.lib;
|
||||
const RE_MD5 = /^[\da-fA-F]{32}$/;
|
||||
|
||||
function hash(password: string, stored: string) {
|
||||
|
||||
Reference in new issue
Block a user