Skip to content

Commit

Permalink
fix(modify-cert): renewing a cert with dns01 challenge cannot find so…
Browse files Browse the repository at this point in the history
…lver
  • Loading branch information
0xJacky committed Sep 16, 2024
1 parent b445a1b commit f3355ed
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions app/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ declare module 'vue' {
SwitchAppearanceIconsVPIconMoon: typeof import('./src/components/SwitchAppearance/icons/VPIconMoon.vue')['default']
SwitchAppearanceIconsVPIconSun: typeof import('./src/components/SwitchAppearance/icons/VPIconSun.vue')['default']
SwitchAppearanceSwitchAppearance: typeof import('./src/components/SwitchAppearance/SwitchAppearance.vue')['default']
TwoFAAuthorization: typeof import('./src/components/TwoFA/Authorization.vue')['default']
VPSwitchVPSwitch: typeof import('./src/components/VPSwitch/VPSwitch.vue')['default']
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createVNode, render } from 'vue'
import { Modal, message } from 'ant-design-vue'
import { useCookies } from '@vueuse/integrations/useCookies'
import Authorization from '@/components/2FA/Authorization.vue'
import Authorization from '@/components/TwoFA/Authorization.vue'
import twoFA from '@/api/2fa'
import { useUserStore } from '@/pinia'

Expand Down
2 changes: 1 addition & 1 deletion app/src/lib/http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useSettingsStore, useUserStore } from '@/pinia'
import 'nprogress/nprogress.css'

import router from '@/routes'
import use2FAModal from '@/components/2FA/use2FAModal'
import use2FAModal from '@/components/TwoFA/use2FAModal'

const user = useUserStore()
const settings = useSettingsStore()
Expand Down
2 changes: 2 additions & 0 deletions app/src/views/certificate/CertificateEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ const isManaged = computed(() => {
name: data.name,
domains: data.domains,
key_type: data.key_type,
challenge_method: data.challenge_method,
dns_credential_id: data.dns_credential_id,
}"
@renewed="init"
/>
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/config/components/Mkdir.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { message } from 'ant-design-vue'
import config from '@/api/config'
import use2FAModal from '@/components/2FA/use2FAModal'
import use2FAModal from '@/components/TwoFA/use2FAModal'
const emit = defineEmits(['created'])
const visible = ref(false)
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/config/components/Rename.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { message } from 'ant-design-vue'
import config from '@/api/config'
import use2FAModal from '@/components/2FA/use2FAModal'
import use2FAModal from '@/components/TwoFA/use2FAModal'
import NodeSelector from '@/components/NodeSelector/NodeSelector.vue'
const emit = defineEmits(['renamed'])
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/other/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import auth from '@/api/auth'
import install from '@/api/install'
import SetLanguage from '@/components/SetLanguage/SetLanguage.vue'
import SwitchAppearance from '@/components/SwitchAppearance/SwitchAppearance.vue'
import Authorization from '@/components/2FA/Authorization.vue'
import Authorization from '@/components/TwoFA/Authorization.vue'
import gettext from '@/gettext'
import passkey from '@/api/passkey'
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/preference/Preference.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { Settings } from '@/views/preference/typedef'
import LogrotateSettings from '@/views/preference/LogrotateSettings.vue'
import { useSettingsStore } from '@/pinia'
import AuthSettings from '@/views/preference/AuthSettings.vue'
import use2FAModal from '@/components/2FA/use2FAModal'
import use2FAModal from '@/components/TwoFA/use2FAModal'
const data = ref<Settings>({
server: {
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/pty/Terminal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Terminal } from '@xterm/xterm'
import { FitAddon } from '@xterm/addon-fit'
import _ from 'lodash'
import ws from '@/lib/websocket'
import use2FAModal from '@/components/2FA/use2FAModal'
import use2FAModal from '@/components/TwoFA/use2FAModal'
import twoFA from '@/api/2fa'
let term: Terminal | null
Expand Down

0 comments on commit f3355ed

Please sign in to comment.