mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:19:26 +00:00
Implemented User getter
This commit is contained in:
@@ -42,7 +42,7 @@ class PasswordReset {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get user() {
|
get user() {
|
||||||
|
return new (require('./User'))(null, this.userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
static async hashToken(u) {
|
static async hashToken(u) {
|
||||||
|
|||||||
Reference in New Issue
Block a user