@tomei/sso 0.54.1 → 0.54.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -575,6 +575,7 @@ export class User extends UserBase {
|
|
575
575
|
}
|
576
576
|
} catch (error) {
|
577
577
|
await this.incrementFailedLoginAttemptCount(dbTransaction);
|
578
|
+
throw new Error('Invalid credentials.');
|
578
579
|
}
|
579
580
|
|
580
581
|
// 2.1: Call alertNewLogin to check whether the ip used is new ip and alert the user if it's new.
|