Commit 85da4a16 by Tobias Skarhed Committed by GitHub

Keybindings: Disable on login url (#18331)

parent c9f7e305
......@@ -39,7 +39,7 @@ export class KeybindingSrv {
}
setupGlobal() {
if (this.contextSrv.user.isSignedIn) {
if (!(this.$location.path() === '/login')) {
this.bind(['?', 'h'], this.showHelpModal);
this.bind('g h', this.goToHome);
this.bind('g a', this.openAlerting);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment