mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-20 12:50:53 +00:00
The userinfo response endpoint from the OIDC provider should not be trusted to return what we expect. Fields could be undefined. In that case HedgeDoc would have written "undefined" into the fields for profile picture or email address. This fix checks for fields being undefined and returns a default value in that case. Signed-off-by: Erik Michelson <github@erik.michelson.eu> |
||
---|---|---|
.. | ||
docker | ||
public | ||
src | ||
test | ||
.editorconfig | ||
.env | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.json | ||
.prettierrc.json.license | ||
CHANGELOG.md | ||
eslint-local-rules.js | ||
jest-e2e.json | ||
jest-e2e.json.license | ||
nest-cli.json | ||
nest-cli.json.license | ||
package.json | ||
package.json.license | ||
tsconfig.build.json | ||
tsconfig.build.json.license | ||
tsconfig.json | ||
tsconfig.json.license |