mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
introduced new exception classes for structured error reporting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const passwordService = require('../../services/password');
|
||||
const ValidationError = require("../../public/app/services/validation_error.js");
|
||||
const ValidationError = require("../../errors/validation_error");
|
||||
|
||||
function changePassword(req) {
|
||||
if (passwordService.isPasswordSet()) {
|
||||
|
||||
Reference in New Issue
Block a user