mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
7f8e6637e4
Extract NextAuth configuration into a shared library, load admin sidebar items from role permissions, and update related RBAC types and UI.
5 lines
112 B
TypeScript
5 lines
112 B
TypeScript
import { authOptions } from "@/lib/auth"
|
|
import NextAuth from "next-auth"
|
|
|
|
|
|
export default NextAuth(authOptions) |