Update redirect url
This commit is contained in:
parent
724d44b744
commit
2cfeea0449
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export default function Auth(
|
||||||
],
|
],
|
||||||
callbacks: {
|
callbacks: {
|
||||||
async redirect(url, baseUrl) {
|
async redirect(url, baseUrl) {
|
||||||
return url.startsWith(baseUrl) ? url : baseUrl
|
return baseUrl
|
||||||
},
|
},
|
||||||
async signIn(user, account, profile: any) {
|
async signIn(user, account, profile: any) {
|
||||||
const canLogin = await isSponsoringMe(profile?.login)
|
const canLogin = await isSponsoringMe(profile?.login)
|
||||||
|
|
Loading…
Reference in a new issue