kopia lustrzana https://github.com/Tldraw/Tldraw
Update [...nextauth].ts
rodzic
7bba32aba2
commit
2a799ade6e
|
@ -18,7 +18,7 @@ export default function Auth(
|
|||
async redirect(url, baseUrl) {
|
||||
return baseUrl
|
||||
},
|
||||
async signIn(user, account, profile: any) {
|
||||
async signIn(user, account, profile: { login?: string }) {
|
||||
const canLogin = await isSponsoringMe(profile?.login)
|
||||
|
||||
if (canLogin) {
|
||||
|
|
Ładowanie…
Reference in New Issue