mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix issue with opening of terminal
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
4 files changed
+14
-13
No files matched your search
+1
@@ -29,6 +29,7 @@ const shellRequestAuthenticatorInjectable = getInjectable({
|
||||
|
||||
return authenticator;
|
||||
},
|
||||
|
||||
lifecycle: lifecycleEnum.singleton,
|
||||
});
|
||||
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ export class ShellRequestAuthenticator {
|
||||
* @param token The value that is being presented as a one time authentication token
|
||||
* @returns `true` if `token` was valid, false otherwise
|
||||
*/
|
||||
authenticate(clusterId: ClusterId, tabId: string, token: string): boolean {
|
||||
authenticate = (clusterId: ClusterId, tabId: string, token: string): boolean => {
|
||||
const clusterTokens = this.tokens.get(clusterId);
|
||||
|
||||
if (!clusterTokens) {
|
||||
@@ -66,5 +66,5 @@ export class ShellRequestAuthenticator {
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user