Organize code
This commit is contained in:
parent
1b6f8deeff
commit
b3c3808797
|
@ -1,4 +1,4 @@
|
|||
import { Auth, LoginResult } from '../interfaces/Auth'
|
||||
import { Auth, LoginResult } from '../schemas/Auth'
|
||||
|
||||
export class FakeAuth implements Auth {
|
||||
constructor() {}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Client } from 'ldapts'
|
||||
import { Auth, LoginResult } from '../interfaces/Auth'
|
||||
import { Auth, LoginResult } from '../schemas/Auth'
|
||||
|
||||
export class LdapAuth implements Auth {
|
||||
constructor(
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Client } from 'ldapts'
|
||||
|
||||
import { LdapAuth } from '../auth/LdapAuth'
|
||||
import { PaFirewall } from '../paloalto/PaFirewall'
|
||||
import { PaFirewall } from '../services/PaFirewall'
|
||||
|
||||
import { paHosts } from '../db/pa'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { PaFirewall } from '../paloalto/PaFirewall'
|
||||
import { PaFirewall } from '../services/PaFirewall'
|
||||
|
||||
import { paHosts } from '../db/pa'
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ import { PropType } from 'vue'
|
|||
|
||||
import { trpc } from '../trpc'
|
||||
|
||||
import { LoginResult } from '@/server/interfaces/Auth'
|
||||
import { LoginResult } from '@/server/schemas/Auth'
|
||||
|
||||
const props = defineProps({
|
||||
loginResult: {
|
||||
|
|
|
@ -18,7 +18,7 @@ import IpAlert from '../components/IpAlert.vue'
|
|||
import Logo from '../components/Logo.vue'
|
||||
import LoggedCard from '../components/LoggedCard.vue'
|
||||
import { ref } from 'vue'
|
||||
import { LoginResult } from '@/server/interfaces/Auth'
|
||||
import { LoginResult } from '@/server/schemas/Auth'
|
||||
|
||||
const loginResult = ref<LoginResult | null>(null)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user