refactor: globalize modal title style

This commit is contained in:
Elias Schneider
2023-03-13 08:50:54 +01:00
parent f55aa80516
commit 6345e21db9
12 changed files with 59 additions and 69 deletions

View File

@@ -278,7 +278,7 @@ export class ShareService {
share?.security?.password &&
!(await argon.verify(share.security.password, password))
) {
throw new ForbiddenException("Wrong password");
throw new ForbiddenException("Wrong password", "wrong_password");
}
if (share.security?.maxViews && share.security.maxViews <= share.views) {