mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 22:41:06 +00:00
c4c5cbd5d0
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 |