feat: mandatory password change on login + UI fixes
This commit is contained in:
1 parent
38008f0460
commit
d3e693ab46
40 files changed
+634
-307
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user