Compare commits

...

4 Commits

Author SHA1 Message Date
James Elliott 92f43a4061
Merge branch 'master' into fix-pp-layout 2023-04-13 20:33:36 +10:00
James Elliott 8775ff9356
fix: unused element
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
2023-04-09 15:40:26 +10:00
James Elliott 2d30814365
Merge remote-tracking branch 'origin/master' into fix-pp-layout
# Conflicts:
#	internal/suites/utils.go
2023-04-09 15:38:04 +10:00
James Elliott 0d9682a9ad
refactor: add missing vars 2023-02-01 20:41:28 +11:00
2 changed files with 5 additions and 3 deletions

View File

@ -242,7 +242,10 @@ func fixCoveragePath(path string, file os.FileInfo, err error) error {
// getEnvInfoFromURL gets environments variables for specified cookie domain
// this func makes a http call to https://login.<domain>/devworkflow and is only useful for suite tests.
func getDomainEnvInfo(domain string) (info map[string]string, err error) {
info = make(map[string]string)
info = map[string]string{
"PrivacyPolicyURL": "https://www.authelia.com/policies/privacy/",
"PrivacyPolicyAccept": "false",
}
client := &http.Client{
Transport: &http.Transport{

View File

@ -1,6 +1,6 @@
import React, { Fragment, ReactNode, useEffect } from "react";
import { Container, Divider, Grid, Link, Theme } from "@mui/material";
import { Container, Grid, Link, Theme } from "@mui/material";
import { grey } from "@mui/material/colors";
import makeStyles from "@mui/styles/makeStyles";
import { useTranslation } from "react-i18next";
@ -72,7 +72,6 @@ const LoginLayout = function (props: Props) {
</Grid>
{privacyEnabled ? (
<Fragment>
<Divider orientation="vertical" flexItem variant="middle" />
<Grid item xs={4}>
<PrivacyPolicyLink className={styles.footerLinks} />
</Grid>