From 11888fcdc39d322a16f37f59f00a28cd83b7644f Mon Sep 17 00:00:00 2001 From: Adeel Khan Date: Fri, 19 Feb 2021 03:39:06 +0500 Subject: [PATCH] Fix to let tpa_hint url have ? instead of & Now the url could also be of the form ?next=/dashboard?tpa_hint=oa2-google-oauth2 to be backward compatible with old url. VAN-42 --- src/_style.scss | 15 --------------- src/common-components/EnterpriseSSO.jsx | 4 ++-- src/data/utils/dataUtils.js | 15 +++++++++++++++ src/data/utils/index.js | 2 +- src/login/LoginPage.jsx | 6 +++--- src/register/RegistrationPage.jsx | 6 +++--- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/_style.scss b/src/_style.scss index af3b448b..17b80601 100644 --- a/src/_style.scss +++ b/src/_style.scss @@ -263,21 +263,6 @@ $apple-focus-black: $apple-black; padding-top: 10px; } -.section-title { - width: 100%; - text-align: center; - border-bottom: 1px solid; - line-height: 0.1em; - margin-bottom: 2rem; - margin-top: 2rem; -} -.section-title span { - background:#fff; - padding:0 20px; - color:#646464; - font-size: 20px; -} - @media (min-width: 576px) { .reset-password-container { width: 420px; diff --git a/src/common-components/EnterpriseSSO.jsx b/src/common-components/EnterpriseSSO.jsx index b23f5c38..d4b690a2 100644 --- a/src/common-components/EnterpriseSSO.jsx +++ b/src/common-components/EnterpriseSSO.jsx @@ -32,7 +32,7 @@ const EnterpriseSSO = (props) => {
-

Sign in

+

Sign in

{intl.formatMessage(messages['enterprisetpa.title.heading'], { providerName: tpaProvider.name })}

-

or

+