Skip to content

Commit f534acf

Browse files
authored
Merge pull request #66 from SolidLabResearch/fix/unknown-user
Fix/unknown user
2 parents 5b50a44 + 48bebba commit f534acf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Configurable query icons (#9).
12-
- "Unknown User" when logged in, but user's name not known (#51).
12+
- "Username not given" when logged in, but user's name not known (#51, #65).
1313

1414
### Changed
1515
- Changed loading message to "The page is loading. Just a moment please." (#26).

src/authenticationProvider/authenticationProvider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
}
2424
}
2525
else{
26-
idp = value;
26+
idp = value;
2727
}
2828

2929
if (!idp) {
@@ -63,7 +63,7 @@ export default {
6363
throw new Error("You don't have access to this resource. You might need to log in.");
6464
}
6565
}
66-
66+
6767
},
6868
getIdentity: async function getIdentity() {
6969
const session = getDefaultSession();
@@ -119,7 +119,7 @@ function getName(webIdThing) {
119119
if (literalName) {
120120
return literalName.value;
121121
} else {
122-
return "Unknown User";
122+
return "Username not given";
123123
}
124124
}
125125

0 commit comments

Comments
 (0)