Adds ability to expire email verify token (#2216)
This commit is contained in:
committed by
Drew
parent
033bc317e6
commit
6f292059ba
@@ -166,6 +166,7 @@ export class UsersRouter extends ClassesRouter {
|
||||
emailAdapter: req.config.userController.adapter,
|
||||
appName: req.config.appName,
|
||||
publicServerURL: req.config.publicServerURL,
|
||||
emailVerifyTokenValidityDuration: req.config.emailVerifyTokenValidityDuration
|
||||
});
|
||||
} catch (e) {
|
||||
if (typeof e === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user