mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 04:22:47 +00:00
🎨 remove long relatives paths -> short module paths
This commit is contained in:
1 parent
95830fa2fc
commit
d50073fc41
79 files changed
+392
-220
No files matched your search
@@ -0,0 +1,11 @@
|
||||
export * from "./Base64";
|
||||
export * from "./cdn";
|
||||
export * from "./instanceOf";
|
||||
export * from "./ipAddress";
|
||||
export * from "./Message";
|
||||
export * from "./passwordStrength";
|
||||
export * from "./RandomInviteID";
|
||||
export * from "./route";
|
||||
export * from "./String";
|
||||
export * from "./Voice";
|
||||
export * from "./VoiceState";
|
||||
@@ -16,7 +16,7 @@ const blocklist: string[] = []; // TODO: update ones passwordblocklist is stored
|
||||
*
|
||||
* Returns: 0 > pw > 1
|
||||
*/
|
||||
export function check(password: string): number {
|
||||
export function checkPassword(password: string): number {
|
||||
const { minLength, minNumbers, minUpperCase, minSymbols } = Config.get().register.password;
|
||||
var strength = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user