Overwrite auth.js in Strapi v4

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

In Strapi v3 you were able to overwrite the auth controller when you copied the file in ./extensions/users-permissions/controllers/
How am i able to do this in v4?

Thanks!

Would like to know that, too. Any solutions already?

I just created an auth api and overwrote the desired endpoint in the controller folder. Dont know if this is the best solution but it works for me :wink: