Move ensureRegistrationEnabled to middlewares
authorChocobozzz <florian.bigard@gmail.com>
Sun, 25 Jun 2017 15:48:51 +0000 (17:48 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 25 Jun 2017 15:48:51 +0000 (17:48 +0200)
commitba44fa19531186944fef3e9da34f5e91f0c0dedb
treeec00417ee5b1113235b0dda98972a30ec697b967
parent0a381679e04bc7adf097da9a6fb4e2c8f41bbda2
Move ensureRegistrationEnabled to middlewares
server/controllers/api/users.ts
server/middlewares/config.ts [new file with mode: 0644]
server/middlewares/index.ts