Is there a way to change code in strapi's server?

I was given a task of changing the way password resets work in a strapi app

Usually if the admin wants to reset his password he would receive a confirmation link, when he clicks on it he gets redirected to a website and then he’s verified

What i have to do is change it to a random code that the admin receives via email and can type in the app to verify himself instead of a url redirect

Any pointers on how i can access the code to change it?

This topic has been created from a Discord post (1231673602101739640) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

If you wanna do that you have to write extensions for user permissions plugin

The plugin you need to extend strapi/packages/plugins/users-permissions/server at develop · strapi/strapi · GitHub

Great thank you

I was trying to find it in the files actually but i couldn’t find such a file

I’ll read through the docs u sent