chore(deps): update module github.com/coreos/go-oidc to v3 - autoclosed #17

Closed
renovate-bot wants to merge 55 commits from renovate/github.com-coreos-go-oidc-3.x into master
Showing only changes of commit e02d5073a8 - Show all commits

View File

@ -12,10 +12,13 @@
<script>
import { goto } from '$app/navigation';
import { page } from '$app/stores'
let auth = { username: "", password: "" };
let pleaseWait = false;
export let next = $page.url.searchParams.get('next');
function logmein() {
pleaseWait = true;
fetch('api/auth', {
@ -26,7 +29,11 @@
response.json().then((auth) => {
pleaseWait = false;
$session = auth;
if (next && next.indexOf('//') === -1) {
goto(next)
} else {
goto(".");
}
})
})
.catch((response) => {