mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
move to next-auth
This commit is contained in:
committed by
Thomas Ruoff
parent
9f4180388b
commit
b257bc8258
16
components/denied.tsx
Normal file
16
components/denied.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { signIn } from 'next-auth/react'
|
||||
|
||||
export default function Denied() {
|
||||
return (
|
||||
<>
|
||||
<h1>Du bist nicht angemeldet.</h1>
|
||||
<p>
|
||||
<a
|
||||
onClick={(e) => {
|
||||
e.preventDefault()
|
||||
signIn()
|
||||
}}>Melde dich an um diese Seite zu sehen.</a>
|
||||
</p>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user