diff --git a/src/main/frontend/admin/pages/user/ChangePassphrase.ts b/src/main/frontend/admin/pages/user/ChangePassphrase.ts index 89ca126..f98a0c7 100644 --- a/src/main/frontend/admin/pages/user/ChangePassphrase.ts +++ b/src/main/frontend/admin/pages/user/ChangePassphrase.ts @@ -7,7 +7,7 @@ import { Credentials } from "../../../common/global/Credentials"; import { MessageCipher } from "../../../common/entity/MessageCipher"; import log from "loglevel"; import { NotificationService } from "../../../common/service/NotificationService"; -import { isPassphraseValid } from "../../../common/ajax/passphrase"; +import { isPassphraseValid } from "../../../common/util/passphrase"; import { getAllMessages, sendReencryptedMessages, diff --git a/src/main/frontend/common/ajax/passphrase.ts b/src/main/frontend/common/util/passphrase.ts similarity index 91% rename from src/main/frontend/common/ajax/passphrase.ts rename to src/main/frontend/common/util/passphrase.ts index cd02bbd..6246324 100644 --- a/src/main/frontend/common/ajax/passphrase.ts +++ b/src/main/frontend/common/util/passphrase.ts @@ -1,7 +1,7 @@ import { EncryptionService } from "../service/EncryptionService"; import { ChatMessageDTO } from "../dto/ChatMessageDTO"; import * as log from "loglevel"; -import { getOneMessage } from "./messages"; +import { getOneMessage } from "../ajax/messages"; export async function isPassphraseValid( passphrase: string,