feat: mandatory password change on login + UI fixes

This commit is contained in:
Nick committed 2019-08-24 22:19:54 -04:00
1 parent 38008f0460
commit d3e693ab46
40 files changed
+634 -307

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ module.exports = class UserKey extends Model {
}
static async generateToken ({ userId, kind }, context) {
const token = await nanoid()
const token = nanoid()
await WIKI.models.userKeys.query().insert({
kind,
token,