Skip to content

Commit d0d444e

Browse files
committed
removed a hard coded value
1 parent d5affdd commit d0d444e

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

src/authProviders/auth0AuthProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class Auth0AuthenticationProvider extends AuthProvider {
134134

135135
const data = (await response.json()) as any;
136136
return {
137-
email: "daman@navaventures.io",
137+
email: data.email,
138138
id: data.id,
139139
name: data.name,
140140
commits: [],

src/common/authProviderInterface.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,6 @@ export abstract class AuthProvider
8484

8585
await this.context.secrets.delete(this.getSecretKey());
8686

87-
// Remove all workspace state settings for commit
88-
await this.getContext().workspaceState.update("defaultProject", undefined);
89-
await this.getContext().workspaceState.update(
90-
"commitNotificationInterval",
91-
undefined
92-
);
93-
await this.getContext().workspaceState.update(
94-
"commitLastNotificationShown",
95-
undefined
96-
);
97-
await this.getContext().workspaceState.update("commitAPI", undefined);
98-
await this.getContext().workspaceState.update("gitAPI", undefined);
99-
await this.getContext().workspaceState.update("commitUserInfo", undefined);
100-
10187
this._onDidChangeSessions.fire({
10288
added: [],
10389
removed: [session],

0 commit comments

Comments
 (0)