Skip to content
Snippets Groups Projects
Commit cba17c30 authored by William Enright's avatar William Enright Committed by Larbi Gharib
Browse files

Corrections to strings in setup wizard, domain name is now prefilled

Change-Id: I775313d46286f8e438ff3282fbed5e096e94514d
parent 5d8b9f42
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ const useStyles = makeStyles((theme) => ({ ...@@ -137,7 +137,7 @@ const useStyles = makeStyles((theme) => ({
})); }));
function getSteps() { function getSteps() {
return ['Create admin', 'CA Setup', 'Identity Management', 'Server parameters']; return ['Create Administrator User', 'Certificate Authority Setup', 'Identity Management', 'Server Parameters'];
} }
export default function CustomizedSteppers(props) { export default function CustomizedSteppers(props) {
......
...@@ -41,7 +41,7 @@ const useStyles = makeStyles((theme) => ({ ...@@ -41,7 +41,7 @@ const useStyles = makeStyles((theme) => ({
export default function ServerParameters(props) { export default function ServerParameters(props) {
// Formik validation fields // Formik validation fields
const initialValues = {domain: ""}; const initialValues = {domain: window.location.origin };
const validationSchema = Yup.object().shape({ const validationSchema = Yup.object().shape({
domain: Yup.string() domain: Yup.string()
.required("Domain is required."), .required("Domain is required."),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment