Fix signin history (#5180)
* Fix #5179 * Fix wrong value in signin history
This commit is contained in:
parent
54ecf97c22
commit
a97c14a7b7
2 changed files with 19 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ export default async (ctx: Koa.BaseContext) => {
|
|||
userId: user.id,
|
||||
ip: ctx.ip,
|
||||
headers: ctx.headers,
|
||||
success: !!(status || failure)
|
||||
success: false
|
||||
});
|
||||
|
||||
// Publish signin event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue