diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-24 12:58:49 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-24 12:58:49 +0100 |
| commit | e2066f51523ecba0f1991edd0c2b94f8f4cd1820 (patch) | |
| tree | 8aedfff6c5d321d612278b40002a8e8037105b08 /communities/red-right-hand/174bg.net/src/app/secure | |
| parent | 7bcfcc53b2dcbfb6efc82524f7bd078b716fd27b (diff) | |
| download | unnamed-group-e2066f51523ecba0f1991edd0c2b94f8f4cd1820.tar unnamed-group-e2066f51523ecba0f1991edd0c2b94f8f4cd1820.tar.gz unnamed-group-e2066f51523ecba0f1991edd0c2b94f8f4cd1820.tar.bz2 unnamed-group-e2066f51523ecba0f1991edd0c2b94f8f4cd1820.tar.xz unnamed-group-e2066f51523ecba0f1991edd0c2b94f8f4cd1820.zip | |
shorten community subdirs
Diffstat (limited to 'communities/red-right-hand/174bg.net/src/app/secure')
| -rw-r--r-- | communities/red-right-hand/174bg.net/src/app/secure/discord-data/page.js | 24 | ||||
| -rw-r--r-- | communities/red-right-hand/174bg.net/src/app/secure/page.js | 13 |
2 files changed, 0 insertions, 37 deletions
diff --git a/communities/red-right-hand/174bg.net/src/app/secure/discord-data/page.js b/communities/red-right-hand/174bg.net/src/app/secure/discord-data/page.js deleted file mode 100644 index b906569..0000000 --- a/communities/red-right-hand/174bg.net/src/app/secure/discord-data/page.js +++ /dev/null @@ -1,24 +0,0 @@ -import { auth } from "@/auth"; -import { headers } from "next/headers"; - -export default async function DiscordData() { - const session = await auth.api.getSession({ headers: await headers() }); - const accounts = await auth.api.listUserAccounts({ - headers: await headers(), - }); - const discordAccount = accounts?.find((a) => a.provider === "discord"); - - return ( - <main> - <h1>Discord Data</h1> - <p>The following data is stored about your Discord account:</p> - <pre> - {JSON.stringify( - { user: session?.user, account: discordAccount }, - null, - 2, - )} - </pre> - </main> - ); -} diff --git a/communities/red-right-hand/174bg.net/src/app/secure/page.js b/communities/red-right-hand/174bg.net/src/app/secure/page.js deleted file mode 100644 index 27312b7..0000000 --- a/communities/red-right-hand/174bg.net/src/app/secure/page.js +++ /dev/null @@ -1,13 +0,0 @@ -import { auth } from "@/auth"; -import { headers } from "next/headers"; - -export default async function SecurePage() { - const session = await auth.api.getSession({ headers: await headers() }); - - return ( - <main> - <h1>Secure Area</h1> - <p>Welcome, {session?.user?.name ?? session?.user?.email}!</p> - </main> - ); -} |
