-
Bug
-
Resolution: Fixed
-
Minor
-
2.5
-
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
The authentication process is the following:
- Check if site exists. We see if we need to use http or https in here.
- Check if the app should use local_mobile.
- (User inputs credentials).
- Try to get user token. If this call returns 'requirecorrectaccess', we add 'www' to the URL and try again.
The problem is that the local_mobile check also returns 'requirecorrectaccess' if we should use 'www', so the user won't use local_mobile unless he manually inputs those 'www'.