Skip to content

Commit ddd09c2

Browse files
committed
fix: correct data type for the processLoginCallbacks api in Back.ts
1 parent b17c9cc commit ddd09c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/types/Back.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export interface IAdminForthRestAPI {
332332
* @param toReturn - this is an object which will get status of login process. If at least one callback returns error or redirectTo, login process will be stopped (future callbacks will not be called).
333333
* @param response - http response object
334334
*/
335-
processLoginCallbacks(adminUser: AdminUser, toReturn: { redirectTo?: string, allowedLogin: boolean, error?: string }, response: any, extra: HttpExtra): Promise<void>;
335+
processLoginCallbacks(adminUser: AdminUser, toReturn: { redirectTo?: string, allowedLogin: boolean, error?: string, }, response: any, extra: HttpExtra, rememberMeDays?: number): Promise<void>;
336336
}
337337

338338
export interface IAdminForth {

0 commit comments

Comments
 (0)