Merge pull request #3060 from dpalou/MOBILE-3715
MOBILE-3715 login: Change message when sso with another app schememain
commit
44787dcb79
|
@ -1658,7 +1658,6 @@
|
|||
"core.errorsync": "local_moodlemobileapp",
|
||||
"core.errorsyncblocked": "local_moodlemobileapp",
|
||||
"core.errorurlschemeinvalidscheme": "local_moodlemobileapp",
|
||||
"core.errorurlschemeinvalidschemessologin": "local_moodlemobileapp",
|
||||
"core.errorurlschemeinvalidsite": "local_moodlemobileapp",
|
||||
"core.expand": "moodle",
|
||||
"core.explanationdigitalminor": "moodle",
|
||||
|
|
|
@ -125,8 +125,10 @@ export class AppComponent implements OnInit, AfterViewInit {
|
|||
} else if (isExternalApp && url.includes('://token=')) {
|
||||
// It's an SSO token for another app. Close the IAB and show an error.
|
||||
CoreUtils.closeInAppBrowser();
|
||||
CoreDomUtils.showErrorModal(Translate.instant('core.errorurlschemeinvalidschemessologin', {
|
||||
$a: urlScheme,
|
||||
CoreDomUtils.showErrorModal(Translate.instant('core.login.contactyouradministratorissue', {
|
||||
$a: '<br><br>' + Translate.instant('core.errorurlschemeinvalidscheme', {
|
||||
$a: urlScheme,
|
||||
}),
|
||||
}));
|
||||
|
||||
} else if (CoreApp.isAndroid()) {
|
||||
|
|
|
@ -113,7 +113,6 @@
|
|||
"errorsync": "An error occurred while synchronising. Please try again.",
|
||||
"errorsyncblocked": "This {{$a}} cannot be synchronised right now because of an ongoing process. Please try again later. If the problem persists, try restarting the app.",
|
||||
"errorurlschemeinvalidscheme": "This URL is meant to be used in another app: {{$a}}.",
|
||||
"errorurlschemeinvalidschemessologin": "This site is configured to be used in another app: {{$a}}.",
|
||||
"errorurlschemeinvalidsite": "This site URL cannot be opened in this app.",
|
||||
"expand": "Expand",
|
||||
"explanationdigitalminor": "This information is required to determine if your age is over the digital age of consent. This is the age when an individual can consent to terms and conditions and their data being legally stored and processed.",
|
||||
|
|
Loading…
Reference in New Issue