Re: django.contrib.auth.update_session_auth_hash not working after change password

2024-11-06 Thread Ken BHHO
@cseb Where did you get that Django Code? On Wed, 6 Nov 2024 at 15:07, Ruby wrote: > Your code needs to be refactored, here is the real deal, your > ChangePassowrdFrom is missing `request`, it should be as it is below > form = grandmas4hire.forms.ChangePasswordForm(request, request.POST) > > > O

Re: django.contrib.auth.update_session_auth_hash not working after change password

2024-11-06 Thread Ruby
Your code needs to be refactored, here is the real deal, your ChangePassowrdFrom is missing `request`, it should be as it is below form = grandmas4hire.forms.ChangePasswordForm(request, request.POST) On Wed, Nov 6, 2024 at 8:20 PM cseb...@gmail.com wrote: > Ruby > > Thank you very much. Here i

Re: django.contrib.auth.update_session_auth_hash not working after change password

2024-11-06 Thread cseb...@gmail.com
Ruby Thank you very much. Here is my code... INV= grandmas4hire.models.Invitation ... def add_url_param(url, param, arg): prefix = "&" if "?" in url else "/?"