ui-soxo-bootstrap-core 2.6.13 → 2.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,10 +31,9 @@ function CommunicationModeSelection({ communicationMode, setCommunicationMode, m
|
|
|
31
31
|
</Radio>
|
|
32
32
|
|
|
33
33
|
{/* SMS Option */}
|
|
34
|
-
{
|
|
35
|
-
{/* <Radio checked={communicationMode === 'mobile'} onChange={() => setCommunicationMode('mobile')}>
|
|
34
|
+
<Radio checked={communicationMode === 'mobile'} disabled onChange={() => setCommunicationMode('mobile')}>
|
|
36
35
|
SMS <MessageOutlined className="otp-icon" style={{ marginLeft: 6 }} />
|
|
37
|
-
</Radio>
|
|
36
|
+
</Radio>
|
|
38
37
|
</div>
|
|
39
38
|
|
|
40
39
|
{/* Validation Error */}
|
|
@@ -624,28 +624,28 @@ function LoginPhone({ history, appSettings }) {
|
|
|
624
624
|
return user.username;
|
|
625
625
|
};
|
|
626
626
|
|
|
627
|
-
const { globalCustomerHeader = () => {} } = appSettings;
|
|
627
|
+
const { globalCustomerHeader = () => { } } = appSettings;
|
|
628
628
|
|
|
629
629
|
const themeName = process.env.REACT_APP_THEME; // e.g., 'purple'
|
|
630
630
|
const isPurple = themeName === 'purple';
|
|
631
631
|
|
|
632
632
|
const sectionStyle = isPurple
|
|
633
633
|
? {
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
634
|
+
width: '100%',
|
|
635
|
+
height: '100vh',
|
|
636
|
+
backgroundImage: `${state.theme.colors.loginPageBackground}`,
|
|
637
|
+
backgroundPosition: 'center bottom, center',
|
|
638
|
+
backgroundRepeat: 'no-repeat, no-repeat',
|
|
639
|
+
backgroundSize: 'cover, cover',
|
|
640
|
+
}
|
|
641
641
|
: {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
642
|
+
width: '100%',
|
|
643
|
+
height: '100vh',
|
|
644
|
+
background: 'linear-gradient(to bottom, #F7F6E3 0%, #EEF1DE 20%, #D5E4DA 45%, #9DBFC8 75%, #4F89A6 100%)',
|
|
645
|
+
backgroundPosition: 'center bottom, center',
|
|
646
|
+
backgroundRepeat: 'no-repeat, no-repeat',
|
|
647
|
+
backgroundSize: 'cover, cover',
|
|
648
|
+
};
|
|
649
649
|
|
|
650
650
|
return (
|
|
651
651
|
<section className="full-page" style={sectionStyle}>
|
|
@@ -835,7 +835,7 @@ function LoginPhone({ history, appSettings }) {
|
|
|
835
835
|
// ? 'Your password has expired. Select a preferred communication method to receive the One-Time Password (OTP) to continue.'
|
|
836
836
|
// : 'Enter your username and Select a preferred communication method to receive the One-Time Password (OTP) to continue..'
|
|
837
837
|
// }
|
|
838
|
-
buttonText={expiredPassword ? 'Send Reset Link' : 'Reset
|
|
838
|
+
buttonText={expiredPassword ? 'Send Reset Link' : 'Send Reset Link'}
|
|
839
839
|
/>
|
|
840
840
|
)}
|
|
841
841
|
</div>
|