Merge lp:~gary-wzl77/account-plugins/mcloud-user-agent into lp:account-plugins
Status: | Merged |
---|---|
Approved by: | Alberto Mardegan |
Approved revision: | 169 |
Merged at revision: | 172 |
Proposed branch: | lp:~gary-wzl77/account-plugins/mcloud-user-agent |
Merge into: | lp:account-plugins |
Prerequisite: | lp:~mardy/account-plugins/mcloud-plugin-lp1587282 |
Diff against target: |
12 lines (+1/-0) 1 file modified
qml/mcloud/Main.qml (+1/-0) |
To merge this branch: | bzr merge lp:~gary-wzl77/account-plugins/mcloud-user-agent |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Mardegan (community) | Approve | ||
Review via email: mp+304213@code.launchpad.net |
Commit message
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.
Description of the change
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.
Looks good, thanks!