allow administration to change/reset a user's password

This commit is contained in:
Rigel Kent 2018-10-06 13:54:00 +02:00 committed by Chocobozzz
parent c7ca4c8be7
commit 328c78bc4a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
13 changed files with 217 additions and 4 deletions

View file

@ -3,6 +3,7 @@ import * as RateLimit from 'express-rate-limit'
import { UserCreate, UserRight, UserRole, UserUpdate } from '../../../../shared'
import { logger } from '../../../helpers/logger'
import { getFormattedObjects } from '../../../helpers/utils'
import { pseudoRandomBytesPromise } from '../../../helpers/core-utils'
import { CONFIG, RATES_LIMIT, sequelizeTypescript } from '../../../initializers'
import { Emailer } from '../../../lib/emailer'
import { Redis } from '../../../lib/redis'