mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05: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 { useEffect } from 'react';
|
||||
|
||||
export default function () {
|
||||
export default function OidcCallbackPage() {
|
||||
const router = useRouter();
|
||||
useEffect(() => {
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { redirect } from 'next/navigation';
|
||||
|
||||
export default function () {
|
||||
export default function OidcLoginPage() {
|
||||
if (!process.env.ENABLE_OIDC) {
|
||||
redirect('/login');
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue