FIX: Remove cache from login when redirecting

This commit is contained in:
Juan Pablo Vial
2024-03-20 20:55:34 -03:00
parent 2ccbc31ae0
commit d69976d015
2 changed files with 2 additions and 3 deletions

View File

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