Skip to content

Commit 097811d

Browse files
committed
fix: rebuild
1 parent 426d3ab commit 097811d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎adminforth/modules/restApi.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,8 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
603603
/**
604604
* Runs afterLoginFailed hooks. Hooks can't change the 401 response, they are called for logging only.
605605
*/
606-
async processAfterLoginFail ed(username: string, pk: string | null, reason: LoginFailureReason, extra: HttpExtra) {
607-
const afterLoginFailed =this.adminforth.config.auth.afterLoginFailed as (AfterLoginFailedFunction[] | undefined);
606+
async processAfterLoginFailed(username: string, pk: string | null, reason: LoginFailureReason, extra: HttpExtra) {
607+
const afterLoginFailed = this.adminforth.config.auth.afterLoginFailed as (AfterLoginFailedFunction[] | undefined);
608608

609609
for (const hook of listify(afterLoginFailed)) {
610610
try {

0 commit comments

Comments
 (0)