diff --git a/src/core/features/login/pages/credentials/credentials.ts b/src/core/features/login/pages/credentials/credentials.ts index e6b995c06..7039451f3 100644 --- a/src/core/features/login/pages/credentials/credentials.ts +++ b/src/core/features/login/pages/credentials/credentials.ts @@ -193,7 +193,6 @@ export class CoreLoginCredentialsPage implements OnInit, OnDestroy { this.siteName = this.siteConfig.sitename; this.logoUrl = CoreLoginHelper.getLogoUrl(this.siteConfig); - this.authInstructions = this.siteConfig.authinstructions || Translate.instant('core.login.loginsteps'); this.showScanQR = await CoreLoginHelper.displayQRInCredentialsScreen(this.siteConfig.tool_mobile_qrcodetype); const disabledFeatures = CoreLoginHelper.getDisabledFeatures(this.siteConfig); @@ -204,6 +203,8 @@ export class CoreLoginCredentialsPage implements OnInit, OnDestroy { !!this.supportConfig?.canContactSupport(), this.showForgottenPassword, ); + this.authInstructions = this.siteConfig.authinstructions || + (this.canSignup ? Translate.instant('core.login.loginsteps') : ''); if (!this.eventThrown && !this.viewLeft) { this.eventThrown = true; diff --git a/src/core/features/login/tests/behat/snapshots/test-basic-usage-of-login-in-app-add-a-new-account-in-the-app--site-name-in-displayed-when-adding-a-new-account_9.png b/src/core/features/login/tests/behat/snapshots/test-basic-usage-of-login-in-app-add-a-new-account-in-the-app--site-name-in-displayed-when-adding-a-new-account_9.png index 727cbb0e1..6abd7693a 100644 Binary files a/src/core/features/login/tests/behat/snapshots/test-basic-usage-of-login-in-app-add-a-new-account-in-the-app--site-name-in-displayed-when-adding-a-new-account_9.png and b/src/core/features/login/tests/behat/snapshots/test-basic-usage-of-login-in-app-add-a-new-account-in-the-app--site-name-in-displayed-when-adding-a-new-account_9.png differ