-
Committer:
Bileto Bot
-
Author(s):
Gary.Wzl
-
Date:
2016-08-31 06:50:24 UTC
-
mfrom:
(155.2.14 mcloud-plugin-lp1587282)
-
Revision ID:
ci-train-bot@canonical.com-20160831065024-5umat11o19iqomta
Add a fixed userAgent.
Currently, userAgent of oxide for touch contains 'Android' string. Cmcc authentication server will review IP address and login location for security reason in such a case. We also found that end-user who try to login outside of China are struggling with mcloud authentication. In most cases, after at least 5 times attempts, user can pass through it.
Adding user-agent makes the login from phone just like login from tablet or PC, which prevents cmcc authentication server from triggering such a secure mechanism. (LP: #1586938, #1587282)
Approved by: Alberto Mardegan