Fix signin history (#5180)

* Fix #5179

* Fix wrong value in signin history
This commit is contained in:
Satsuki Yanagi
2019-07-18 04:22:44 +09:00
committed by syuilo
parent 54ecf97c22
commit a97c14a7b7
2 changed files with 19 additions and 1 deletions

View File

@@ -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