Split user.ts into auth.ts and me.ts (#113)

Split user.ts into auth.ts and me.ts
This commit is contained in:
mrdrogdrog 2020-05-31 22:27:12 +02:00 committed by GitHub
parent 1fa8c8ac53
commit db5bec7000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 53 additions and 51 deletions

View file

@ -1,11 +1,11 @@
import React, { FormEvent, useState } from 'react'
import { Alert, Button, Card, Form } from 'react-bootstrap'
import { Trans, useTranslation } from 'react-i18next'
import { Alert, Button, Card, Form } from 'react-bootstrap'
import { doLdapLogin } from '../../../../../api/user'
import { getAndSetUser } from '../../../../../utils/apiUtils'
import { useSelector } from 'react-redux'
import { doLdapLogin } from '../../../../../api/auth'
import { ApplicationState } from '../../../../../redux'
import { getAndSetUser } from '../../../../../utils/apiUtils'
export const ViaLdap: React.FC = () => {
const { t } = useTranslation()