Skip to content

Commit

Permalink
Merge pull request #143 from ddjnw1yu/authenticate-issue
Browse files Browse the repository at this point in the history
Fix auth issue
  • Loading branch information
alan-wu authored Sep 23, 2024
2 parents 3941b48 + fae19d9 commit 41d0d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScaffoldVuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ export default {
}
this.userInformation = undefined;
this.annotator.authenticate(this.userToken).then((userData) => {
if (userData.name && userData.email) {
if (userData.name && userData.email && userData.canUpdate) {
this.userInformation = userData;
//Only draw annotations stored in the server on initial authentication
if (!authenticated) {
Expand Down

0 comments on commit 41d0d7a

Please sign in to comment.