fix: ts error

This commit is contained in:
janishutz committed 2026-09-10 16:23:12 +02:00
1 parent 1e4f456063
commit b5bb1f5355
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ export const configure = (
app.get( '/auth/v2/login', ( req, res ) => {
res.oidc.login( {
'returnTo': req.query.returnTo ? String( req.query.returnTo ) : ( loginReturnURL.href ?? '/' ),
'returnTo': req.query.returnTo ? String( req.query.returnTo ) : ( loginReturnURL?.href ?? '/' ),
'authorizationParams': {
'redirect_uri': appURL.href + 'auth/v2/verify'
}