Custom login screen and error page

This commit is contained in:
Bailey Pumfleet committed 2021-03-29 22:01:12 +01:00
1 parent 1582cfd43f
commit a758c28fb0
4 files changed
+135 -7

No files matched your search

+5
View File
@@ -7,6 +7,11 @@ export default NextAuth({
session: {
jwt: true
},
pages: {
signIn: '/auth/login',
signOut: '/auth/logout',
error: '/auth/error', // Error code passed in query string as ?error=
},
providers: [
Providers.Credentials({
name: 'Calendso',