1

I have a site which is online now.

This site has a set password, log in, etc. features for my users. My users are able to sign in or set password (all user operations) on any browser but when they try to set the password or login (all user operations) on mobile, the process is never ended and finally crashed.

  • Can you please check the logs ? – inrsaurabh May 9 '19 at 13:38
  • @inrsaurabh i see "Request didn’t meet the user agent and IP requirement for maintaining a user session." in the logs. – Berk Can Demir May 10 '19 at 8:21
  • Is your problem solved? – inrsaurabh Jun 9 '19 at 12:52
1

By default, Craft requires that a browser has a user agent string and IP address for a valid authenticated session, and once that session starts, the user agent string must remain the same for the remainder of the session.

It sounds like whatever browsers are being used on the mobile devices aren't providing this.

You can alter this behavior with these config settings:

https://docs.craftcms.com/v3/config/config-settings.html#requireuseragentandipforsession

https://docs.craftcms.com/v3/config/config-settings.html#requirematchinguseragentforsession

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.