mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-05 01:04:25 -04:00
Split user.ts into auth.ts and me.ts (#113)
Split user.ts into auth.ts and me.ts
This commit is contained in:
parent
1fa8c8ac53
commit
db5bec7000
9 changed files with 53 additions and 51 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue