pr feedback

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
derrickmehaffy 2022-10-05 11:07:23 -07:00 committed by DMehaffy
parent 59f2e02dc5
commit aa97ec895b

View File

@ -23,16 +23,16 @@ module.exports = [
method: 'POST', method: 'POST',
path: '/register-admin', path: '/register-admin',
handler: 'authentication.registerAdmin', handler: 'authentication.registerAdmin',
config: { config: { auth: false },
auth: false,
middlewares: ['admin::rateLimit'],
},
}, },
{ {
method: 'GET', method: 'GET',
path: '/registration-info', path: '/registration-info',
handler: 'authentication.registrationInfo', handler: 'authentication.registrationInfo',
config: { auth: false }, config: {
auth: false,
middlewares: ['admin::rateLimit'],
},
}, },
{ {
method: 'POST', method: 'POST',