Login redirect 307 (temporary)

This commit is contained in:
Juan Pablo Vial
2024-04-03 13:26:12 -03:00
parent 8710c8a111
commit 905e8263bc
4 changed files with 4 additions and 22 deletions

View File

@ -39,11 +39,7 @@
}
}).then(data => {
if (data.login === true) {
@if(isset($redirect_uri))
window.location = '{{$redirect_uri}}?nocache=' + (new Date()).getTime()
@else
window.location = '{{$urls->base}}?nocache=' + (new Date()).getTime()
@endif
window.location = '{{(isset($redirect_uri)) ? $redirect_uri : $urls->base}}'
}
})
}