mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
web: fix app lock verification always succeeds
This commit is contained in:
@@ -513,7 +513,7 @@ function deserializeCredential(
|
||||
throw new Error("Credentials are of different types.");
|
||||
}
|
||||
|
||||
function wrongCredentialError(query: CredentialQuery): string {
|
||||
export function wrongCredentialError(query: CredentialQuery): string {
|
||||
switch (query.type) {
|
||||
case "password":
|
||||
return "Wrong password";
|
||||
|
||||
Reference in New Issue
Block a user