+
+
+ {t('message.om-description')}{' '}
+
- {isAuthProviderBasic ? (
-
-
-
-
-
-
-
-
-
-
- {loginError && (
-
-
-
-
-
-
- {loginError}
-
-
-
- )}
- {!isAuthProviderLDAP && (
- <>
-
-
- {t('label.forgot-password')}
-
-
- {authConfig?.enableSelfSignup && (
- <>
-
-
- {t('label.or-lowercase')}
-
-
+ form={form}
+ layout="vertical"
+ validateMessages={VALIDATION_MESSAGES}
+ onFinish={handleSubmit}>
+
+
+
+
+
+
-
-
- {t('message.new-to-the-platform')}
-
-
+
+
+ {loginError && (
+
+
- ) : (
-
{getSignInButton()}
- )}
-
-
-
-
-

-
+
+ {loginError}
+
+
+
+ )}
+ {!isAuthProviderLDAP && (
+ <>
+
+
+ {t('label.forgot-password')}
+
+
+ {authConfig?.enableSelfSignup && (
+ <>
+
+
+ {t('label.or-lowercase')}
+
+
-
-
-
+
+
+ {t('message.new-to-the-platform')}
+
+
+
+ >
+ )}
+ >
+ )}
+
+ ) : (
+