Forums

Can't log into my pyramid application with mobile phones

Hi, Please I can't figure out why I can't log into my website webcalc.pythonanywhere.com using mobile phones but I can do so with pc. What am I missing?

At first I thought it's jquery validation but I have removed validation and the problem still persist. Please I need help on this

My guess is that your phone is auto-correcting the password, so you're not entering the password you think you're entering. See if you can log/report the incoming password to see what the phone is sending your app. But be sure to disable that quickly - it's a big security risk.

I did as you said and my phone reported exactly what I entered.

Then I'd suggest trying to identify differences between the request that the phone sends and the request that a desktop browser sends when you try to log in.

Sorry, but how do I do that

Add logging to the view that is causing trouble and see the difference between when you hit it from the desktop and when you hit it from the phone.

Hi glenn. Thanks for helping. Have seen the problem. It is my own code

Cool. Glad you worked it out.