mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
name components as per greptile
This commit is contained in:
parent
35a76bc9b6
commit
346ebaee4e
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import { setUser } from '@/store/app';
|
||||||
import { useRouter } from 'next/navigation';
|
import { useRouter } from 'next/navigation';
|
||||||
import { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
|
|
||||||
export default function () {
|
export default function OidcCallbackPage() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const params = new URLSearchParams(window.location.search);
|
const params = new URLSearchParams(window.location.search);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { redirect } from 'next/navigation';
|
import { redirect } from 'next/navigation';
|
||||||
|
|
||||||
export default function () {
|
export default function OidcLoginPage() {
|
||||||
if (!process.env.ENABLE_OIDC) {
|
if (!process.env.ENABLE_OIDC) {
|
||||||
redirect('/login');
|
redirect('/login');
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue