|
@@ -18,7 +18,7 @@ class PasswordResetOrder {
|
|
|
static generateOneTimeToken() {
|
|
static generateOneTimeToken() {
|
|
|
|
|
|
|
|
const buf = crypto.randomBytes(256);
|
|
const buf = crypto.randomBytes(256);
|
|
|
- const token = buf.toString('hex');
|
|
|
|
|
|
|
+ const token = buf.toString('base64');
|
|
|
|
|
|
|
|
return token;
|
|
return token;
|
|
|
}
|
|
}
|