removed wrong code

This commit is contained in:
dcore94 2022-04-28 15:52:08 +02:00
parent 2ec97193aa
commit d3142c1aab
1 changed files with 0 additions and 4 deletions

View File

@ -32,10 +32,6 @@ function enforce(r) {
}
context.userinfo = { username : jwt.preferred_username }
return Promise.resolve(context)
} else {
debug(context, "[PEP] failed " + reply.status + ":" + reply.responseBody)
throw new Error("Unauthorized")
}
}).then(ctx => {
debug(context, "[HOMESERV] creating home for username " + context.userinfo.username)
return context.request.subrequest("/_homeserv", {"body" : "user=" + context.userinfo.username })