mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix(modify-cert): renewing a cert with dns01 challenge cannot find solver
This commit is contained in:
parent
b445a1bb69
commit
f3355eda4f
10 changed files with 10 additions and 7 deletions
1
app/components.d.ts
vendored
1
app/components.d.ts
vendored
|
@ -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']
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
/>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'])
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue