Notes
Do not remove the
prefixfield in thestrapi/extensions/users-permissions/config/routes.jsonevent 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.useris up to date and do not need to query againstrapi.query('user', 'users-permissions').findOne({ id: ctx.state.user.id });