mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 17:04:13 +00:00
pr feedback
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
This commit is contained in:
parent
59f2e02dc5
commit
aa97ec895b
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user