Skip to content

Commit

Permalink
Remove js navigation on alternative login click
Browse files Browse the repository at this point in the history
Signed-off-by: zorn-v <zorn7@yandex.ru>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
zorn-v authored and nextcloud-command committed Jan 10, 2023
1 parent 10cca65 commit 2bcf94a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions core/src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@
:wide="true"
:class="[alternativeLogin.class]"
role="link"
:href="alternativeLogin.href"
@click="goTo(alternativeLogin.href)">
:href="alternativeLogin.href">
{{ alternativeLogin.name }}
</NcButton>
</div>
Expand Down Expand Up @@ -184,9 +183,6 @@ export default {
this.resetPasswordTarget = ''
this.directLogin = true
},
goTo(href) {
window.location.href = href
},
},
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions dist/core-login.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-login.js.map

Large diffs are not rendered by default.

0 comments on commit 2bcf94a

Please sign in to comment.