import { changePassphrase } from "./pages/user/ChangePassphrase"; import { EncryptionServiceFactory } from "../common/service/EncryptionServiceFactory"; import log from "loglevel"; import { AlertifyNotificationService } from "../common/service/AlertifyNotificationService"; log.setLevel("TRACE"); const es = EncryptionServiceFactory.getEncryptionService(); const ns = new AlertifyNotificationService(); $("#changePassphraseForm").on("submit", (event) => { event.preventDefault(); changePassphrase(es, ns); });