Skip to content

Commit 2bcf94a

Browse files
zorn-vnextcloud-command
authored andcommitted
Remove js navigation on alternative login click
Signed-off-by: zorn-v <zorn7@yandex.ru> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 10cca65 commit 2bcf94a

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

core/src/views/Login.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@
109109
:wide="true"
110110
:class="[alternativeLogin.class]"
111111
role="link"
112-
:href="alternativeLogin.href"
113-
@click="goTo(alternativeLogin.href)">
112+
:href="alternativeLogin.href">
114113
{{ alternativeLogin.name }}
115114
</NcButton>
116115
</div>
@@ -184,9 +183,6 @@ export default {
184183
this.resetPasswordTarget = ''
185184
this.directLogin = true
186185
},
187-
goTo(href) {
188-
window.location.href = href
189-
},
190186
},
191187
}
192188
</script>

dist/core-login.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-login.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)