Added a new parameter usertype in Google Oauth and Google Callback in Auth Js which will set the type of user before creating a new account that will allow the user to open user profile or club profile easily.
Fixed the User route. Now individual can access their accounts easily.
Fixed the Display js. Now admin can see all the clubs presents
This change will allow the user to add individual or club usertype from user for Google Signup. So I have created an option for this in frontend. So after it is merged I will pull request in MilanRef issue: #1091
41
closes #41
π·π» Changes made
usertype
in Google Oauth and Google Callback in Auth Js which will set the type of user before creating a new account that will allow the user to openuser profile
orclub profile
easily.Display js
. Now admin can see all the clubs presentsπΈ Screenshots
![image](https://github.com/MilanCommunity/Milan-Backend/assets/113163315/4b049860-bf20-4e6e-8c8a-317a019a4bc0) ![image](https://github.com/MilanCommunity/Milan-Backend/assets/113163315/a5f056e6-1529-40e9-b3a9-e42d7d36ed79)