@@ -73,7 +73,7 @@ export function isHash(input: string): boolean {
|
||||
export async function verifyBcrypt(plaintext: string, hash: string): Promise<boolean> {
|
||||
try {
|
||||
return await bcrypt.compare(plaintext, hash);
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Referencia en una nueva incidencia
Block a user