Skip to content

Commit

Permalink
Fix enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 9, 2023
1 parent bcdb6ae commit f89b03b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function getSettings(): Knex.Config {
let client;
let searchPath;
let useNullAsDefault: undefined|true = undefined;
let pool: Knex.PoolConfig = {
const pool: Knex.PoolConfig = {
min: 0,
max: 10
};
Expand Down
12 changes: 6 additions & 6 deletions src/log/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ export enum EventType {
loginSuccess = 1,
loginFailed = 2,
totpFailed = 3,
changePasswordSuccess = 3,
resetPasswordRequest = 4,
resetPasswordSuccess = 5,
loginFailedInactive = 6,
webAuthnFailed = 7,
tokenRevoked = 7,
changePasswordSuccess = 4,
resetPasswordRequest = 5,
resetPasswordSuccess = 6,
loginFailedInactive = 7,
webAuthnFailed = 8,
tokenRevoked = 9,

oauth2BadRedirect = 11,
generateAccessToken = 12,
Expand Down

0 comments on commit f89b03b

Please sign in to comment.