mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 15:13:05 +00:00
Add fallback to bcryptjs, make canvas optional
This commit is contained in:
5 files changed
+3
-6
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import { route } from "@fosscord/api";
|
||||
import { HTTPError, Member, User } from "@fosscord/util";
|
||||
import bcrypt from "bcrypt";
|
||||
import { Request, Response, Router } from "express";
|
||||
|
||||
let bcrypt: any;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { route } from "@fosscord/api";
|
||||
import { User } from "@fosscord/util";
|
||||
import bcrypt from "bcrypt";
|
||||
import { Request, Response, Router } from "express";
|
||||
|
||||
let bcrypt: any;
|
||||
|
||||
@@ -12,7 +12,6 @@ import {
|
||||
UserModifySchema,
|
||||
UserUpdateEvent
|
||||
} from "@fosscord/util";
|
||||
import bcrypt from "bcrypt";
|
||||
import { Request, Response, Router } from "express";
|
||||
|
||||
let bcrypt: any;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { BackupCode, Config, FieldErrors, generateMfaBackupCodes, MfaCodesSchema, User } from "@fosscord/util";
|
||||
import bcrypt from "bcrypt";
|
||||
import { Request, Response, Router } from "express";
|
||||
import { route } from "../../../..";
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Plugin } from "util/plugin";
|
||||
import * as example_plugin from "./example-plugin/TestPlugin";
|
||||
|
||||
export const PluginIndex: any = {
|
||||
"example-plugin": new example_plugin.default()
|
||||
};
|
||||
"example-plugin": new example_plugin.default(),
|
||||
};
|
||||
Reference in new issue
Block a user