You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f74b6f1
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -212,3 +322,8 @@ callback is logged by the plugin and doesn't affect the sign-in.
212
322
| `canManageOtherUsersSessions` | — | `(adminUser) =>Promise<boolean>`, decides who may see and revoke sessions of other users |
213
323
| `lastUsedThrottleSeconds` | `60` | How often `last_used_at` is refreshed. Every refresh is one write to the adapter |
214
324
| `onNewLogin` | — | `({ pk, username, session, reasons, revokePath }) =>Promise<void>`, called after a sign-in from a new device or country, see [Notifying about sign-ins from new devices](#notifying-about-sign-ins-from-new-devices) |
325
+
| `loginHistory.resourceId` | — | Resource where sign-ins and failed attempts are stored, see [Login history](#login-history) |
326
+
| `loginHistory.resourceColumns` | required with `loginHistory` | Names of the columns of that resource |
327
+
| `loginHistory.failedLogsInterval` | `1m` | How often counted failed attempts are written, one record per user |
328
+
| `loginHistory.maxIpsPerLog` | `100` | How many IPs are kept in `ips` of one failed attempts record |
329
+
| `loginHistory.maxFailedLogsPerUser` | `100` | How many failed attempts records are kept for one user |
0 commit comments