diff --git a/CHANGELOG.md b/CHANGELOG.md index 42a448b9..b05da1e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Configurable query icons (#9). -- "Unknown User" when logged in, but user's name not known (#51). +- "Username not given" when logged in, but user's name not known (#51, #65). ### Changed - Changed loading message to "The page is loading. Just a moment please." (#26). diff --git a/src/authenticationProvider/authenticationProvider.js b/src/authenticationProvider/authenticationProvider.js index 7f1017eb..8dd35172 100644 --- a/src/authenticationProvider/authenticationProvider.js +++ b/src/authenticationProvider/authenticationProvider.js @@ -23,7 +23,7 @@ export default { } } else{ - idp = value; + idp = value; } if (!idp) { @@ -63,7 +63,7 @@ export default { throw new Error("You don't have access to this resource. You might need to log in."); } } - + }, getIdentity: async function getIdentity() { const session = getDefaultSession(); @@ -119,7 +119,7 @@ function getName(webIdThing) { if (literalName) { return literalName.value; } else { - return "Unknown User"; + return "Username not given"; } }