fix: Port from hosted

This commit is contained in:
Tom Moor
2020-06-22 22:11:39 -07:00
committed by GitHub
parent ce2f69342c
commit efcfda8398

View File

@@ -78,6 +78,7 @@ router.get("email.callback", auth({ required: false }), async ctx => {
if (!user.service) {
user.service = "email";
user.lastActiveAt = new Date();
await user.save();
}