diff --git a/webapp/src/component/security/Login/LoginCredentialsForm.tsx b/webapp/src/component/security/Login/LoginCredentialsForm.tsx index 615c85ce0b..539a6ef02e 100644 --- a/webapp/src/component/security/Login/LoginCredentialsForm.tsx +++ b/webapp/src/component/security/Login/LoginCredentialsForm.tsx @@ -101,10 +101,12 @@ export function LoginCredentialsForm(props: LoginViewCredentialsProps) { name="username" label={} minHeight={false} + autoComplete="username email" /> } minHeight={false} /> diff --git a/webapp/src/component/security/SignUp/SignUpForm.tsx b/webapp/src/component/security/SignUp/SignUpForm.tsx index 6c58fa6f9f..f134ccbb4a 100644 --- a/webapp/src/component/security/SignUp/SignUpForm.tsx +++ b/webapp/src/component/security/SignUp/SignUpForm.tsx @@ -23,6 +23,7 @@ import { PasswordLabel } from '../SetPasswordField'; import { ResourceErrorComponent } from '../../common/form/ResourceErrorComponent'; import { Alert } from '../../common/Alert'; import { SpendingLimitExceededDescription } from '../../billing/SpendingLimitExceeded'; +import { LabelHint } from 'tg.component/common/LabelHint'; const StyledInputFields = styled('div')` display: grid; @@ -30,6 +31,11 @@ const StyledInputFields = styled('div')` padding-bottom: 12px; `; +const StyledSeparator = styled('div')` + height: 32px; + justify-self: center; +`; + const PasswordFieldWithValidation = React.lazy( () => import('tg.component/security/PasswordFieldWithValidation') ); @@ -122,14 +128,47 @@ export const SignUpForm = (props: Props) => { > + + } + /> + {orgRequired && ( + + + + } + /> + )} + {userSourceField && ( + + ( + ) + + } + /> + )} + + + } - autoComplete="email" + autoComplete="username email" /> } inputProps={{ type: showPassword ? 'text' : 'password' }} + autoComplete="password" InputProps={{ endAdornment: ( { ), }} /> - } - /> - {orgRequired && ( - } - /> - )} - {userSourceField && ( - } - /> - )} + + + , + }} + /> + + - - - , - }} - /> - - ); }; diff --git a/webapp/src/component/security/SignUp/SignUpView.tsx b/webapp/src/component/security/SignUp/SignUpView.tsx index aabaac30de..ceb0310286 100644 --- a/webapp/src/component/security/SignUp/SignUpView.tsx +++ b/webapp/src/component/security/SignUp/SignUpView.tsx @@ -29,7 +29,7 @@ export type SignUpType = { const StyledRightPart = styled('div')` display: grid; - align-content: end; + padding-bottom: 90px; `; export const SignUpView: FunctionComponent = () => {