Inline
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { PasswordStrength } from "@ente/accounts/constants";
|
||||
import { estimatePasswordStrength } from "@ente/accounts/utils";
|
||||
import {
|
||||
PasswordStrength,
|
||||
estimatePasswordStrength,
|
||||
} from "@ente/accounts/utils";
|
||||
import { FlexWrapper } from "@ente/shared/components/Container";
|
||||
import { Typography } from "@mui/material";
|
||||
import { t } from "i18next";
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
export enum PasswordStrength {
|
||||
WEAK = "WEAK",
|
||||
MODERATE = "MODERATE",
|
||||
STRONG = "STRONG",
|
||||
}
|
||||
@@ -1,6 +1,11 @@
|
||||
import { PasswordStrength } from "@ente/accounts/constants";
|
||||
import zxcvbn from "zxcvbn";
|
||||
|
||||
export enum PasswordStrength {
|
||||
WEAK = "WEAK",
|
||||
MODERATE = "MODERATE",
|
||||
STRONG = "STRONG",
|
||||
}
|
||||
|
||||
export const convertBufferToBase64 = (buffer: Buffer) => {
|
||||
return buffer.toString("base64");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user