Open Pagwin-Fedora opened 2 years ago
@Pagwin-Fedora is this purely just the display name you want to be able to change? Or the name used to log into the website as well?
Potentially we could switch to using the email as the login and have the username be display only.
@lladdy I think having both changeable makes sense and it should be possible to change the email as well if it isn't easily changeable already.
I think that both the display name and email should work as login names however between the two I think having email as login name would be better
If no one is assigned give it to me.....i have an idea of what to do
Thanks @Marsh-sudo - I've assigned this to you :)
Kindly help me know which folder holds user authentication and everything in regards of signup,login and user profile cause am getting lost in your folder structure....kindly
Hi @Marsh-sudo
All the frontend view code is here: https://github.com/aiarena/aiarena-web/blob/staging/aiarena/frontend/views.py External dependencies (such as django) manage most of the signup and authentication functionality.
Here is the relevant profile edit page code: Django Template: https://github.com/aiarena/aiarena-web/blob/staging/aiarena/frontend/templates/profile_edit.html UserProfileUpdate View: https://github.com/aiarena/aiarena-web/blob/debfe993f1f2936c22ff643c1010b3fb67e52192/aiarena/frontend/views.py#L166 URL definition: https://github.com/aiarena/aiarena-web/blob/staging/aiarena/urls.py#L99
You'll need to understand how Django views work in order to update the code.
sorry if this is a duplicate but having to ask an admin for this is dumb