We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eadc9e9 commit aa67e6bCopy full SHA for aa67e6b
1 file changed
core/src/components/login/PasswordLessLoginForm.vue
@@ -46,8 +46,8 @@
46
</template>
47
48
<script type="ts">
49
-import { browserSupportsWebAuthn } from '@simplewebauthn/browser'
50
import { getBaseUrl } from '@nextcloud/router'
+import { browserSupportsWebAuthn } from '@simplewebauthn/browser'
51
import { defineComponent } from 'vue'
52
import {
53
NoValidCredentials,
@@ -139,8 +139,8 @@ export default defineComponent({
139
.then(({ defaultRedirectUrl }) => {
140
logger.debug('Logged in redirecting')
141
if (redirectUrl) {
142
- if (redirectUrl.charAt(0) !== "/") {
143
- redirectUrl = "/" + redirectUrl;
+ if (redirectUrl.charAt(0) !== '/') {
+ redirectUrl = '/' + redirectUrl
144
}
145
window.location.href = getBaseUrl() + redirectUrl
146
} else {
0 commit comments