Skip to content

Commit 5971eab

Browse files
authored
change login route and allow favicon (#64)
1 parent 683b8e3 commit 5971eab

File tree

5 files changed

+66
-188
lines changed

5 files changed

+66
-188
lines changed

Charts/web-conexs/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ oauth2-proxy:
171171
config:
172172
configFile: |-
173173
email_domains = [ "*" ]
174-
skip_auth_routes = ["GET=^/$","GET=^/assets"]
174+
skip_auth_routes = ["GET=^/$","GET=^/assets","GET=^/conexs.svg$",]
175175
api_routes = ["^/api"]
176176
skip_provider_button = true
177177
cookie_refresh="1m"

web-conexs-client/public/conex.svg

Lines changed: 62 additions & 184 deletions
Loading

web-conexs-client/src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function Header() {
4242
}
4343
};
4444

45-
const handleLogin = () => window.location.assign("/login");
45+
const handleLogin = () => window.location.assign("/oauth2/sign_in");
4646

4747
const handleLogout = () => window.location.assign("/oauth2/sign_out");
4848

web-conexs-client/src/components/SideToolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default function SideToolbar(props: { open: boolean }) {
203203
<ListItemStyled
204204
theme={theme}
205205
open={props.open}
206-
to={"/login"}
206+
to={"/oauth2/sign_in"}
207207
label="Login"
208208
icon={<Login />}
209209
reloadDocument={true}

web-conexs-client/src/components/WelcomePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default function WelcomePage() {
7070
{!user.person ? (
7171
<NavButton
7272
label="Login"
73-
path={"/login"}
73+
path={"/oauth2/sign_in"}
7474
icon={<LoginIcon sx={{ width: "3em", height: "3em" }} />}
7575
reload={true}
7676
></NavButton>

0 commit comments

Comments
 (0)