Notes
Do not remove the
prefix
field in thestrapi/extensions/users-permissions/config/routes.json
event if its value is empty. Because the controller will suspend and you cannot found any useful debug informationSome of the
/auth/*
routes have a rate-limit policy. These routes config is defined here and here is the rate limit config.Backup the database before create/update a model schema in
Strapi Admin Panel
. Especially remove a relation field between collection.If you have assign the policy
plugins::users-permissions.isAuthenticated
. The value ofctx.state.user
is up to date and do not need to query againstrapi.query('user', 'users-permissions').findOne({ id: ctx.state.user.id });