Compare commits
4 Commits
master
...
fix-pp-lay
Author | SHA1 | Date |
---|---|---|
James Elliott | 92f43a4061 | |
James Elliott | 8775ff9356 | |
James Elliott | 2d30814365 | |
James Elliott | 0d9682a9ad |
|
@ -242,7 +242,10 @@ func fixCoveragePath(path string, file os.FileInfo, err error) error {
|
||||||
// getEnvInfoFromURL gets environments variables for specified cookie domain
|
// 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.
|
// 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) {
|
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{
|
client := &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Fragment, ReactNode, useEffect } from "react";
|
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 { grey } from "@mui/material/colors";
|
||||||
import makeStyles from "@mui/styles/makeStyles";
|
import makeStyles from "@mui/styles/makeStyles";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
@ -72,7 +72,6 @@ const LoginLayout = function (props: Props) {
|
||||||
</Grid>
|
</Grid>
|
||||||
{privacyEnabled ? (
|
{privacyEnabled ? (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Divider orientation="vertical" flexItem variant="middle" />
|
|
||||||
<Grid item xs={4}>
|
<Grid item xs={4}>
|
||||||
<PrivacyPolicyLink className={styles.footerLinks} />
|
<PrivacyPolicyLink className={styles.footerLinks} />
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in New Issue