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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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();
}