A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
515 B

4 years ago
4 years ago
4 years ago
4 years ago
  1. import { changePassphrase } from "./pages/user/ChangePassphrase";
  2. import { EncryptionServiceFactory } from "../common/service/EncryptionServiceFactory";
  3. import log from "loglevel";
  4. import { AlertifyNotificationService } from "../common/service/AlertifyNotificationService";
  5. log.setLevel("TRACE");
  6. const es = EncryptionServiceFactory.getEncryptionService();
  7. const ns = new AlertifyNotificationService();
  8. $("#changePassphraseForm").on("submit", (event) => {
  9. event.preventDefault();
  10. changePassphrase(es, ns);
  11. });