mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
refactor: 修改OAuth2
This commit is contained in:
parent
1a0c7a3144
commit
70fcb9ca66
|
|
@ -78,7 +78,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref, watch, onMounted } from 'vue'
|
||||
import { reactive, ref, onMounted } from 'vue'
|
||||
import authApi from '@/api/auth-setting'
|
||||
import type { FormInstance, FormRules } from 'element-plus'
|
||||
import { t } from '@/locales'
|
||||
|
|
|
|||
|
|
@ -11,15 +11,15 @@
|
|||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import LDAP from './component/LDAP.vue'
|
||||
import CAS from './component/CAS.vue'
|
||||
import OIDC from './component/OIDC.vue'
|
||||
import SCAN from './component/SCAN.vue'
|
||||
import OAuth2 from './component/OAuth2.vue'
|
||||
import { t } from '@/locales'
|
||||
import useStore from '@/stores'
|
||||
import OAUTH2 from '@/views/authentication/component/OAUTH2.vue'
|
||||
|
||||
const { user } = useStore()
|
||||
const router = useRouter()
|
||||
|
|
@ -43,8 +43,8 @@ const tabList = [
|
|||
},
|
||||
{
|
||||
label: t('login.oauth2.title'),
|
||||
name: 'OAUTH2',
|
||||
component: OAUTH2
|
||||
name: 'OAuth2',
|
||||
component: OAuth2
|
||||
},
|
||||
{
|
||||
label: '扫码登录',
|
||||
|
|
|
|||
Loading…
Reference in New Issue