mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
Feature/ldap sign in (#27)
* reworked via-ldap component * added username i18nkey * added customAuthNames to backend config * added postLdapLogin api call Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
fbd29c0338
commit
5eb8ab7517
7 changed files with 99 additions and 26 deletions
|
@ -4,7 +4,7 @@ import {BackendConfigActions, BackendConfigState, SET_BACKEND_CONFIG_ACTION_TYPE
|
|||
export const initialState: BackendConfigState = {
|
||||
allowAnonymous: true,
|
||||
authProviders: {
|
||||
facebook: true,
|
||||
facebook: false,
|
||||
github: false,
|
||||
twitter: false,
|
||||
gitlab: false,
|
||||
|
@ -15,6 +15,9 @@ export const initialState: BackendConfigState = {
|
|||
oauth2: false,
|
||||
email: false
|
||||
},
|
||||
customAuthNames: {
|
||||
ldap: ""
|
||||
},
|
||||
specialLinks: {
|
||||
privacy: "",
|
||||
termsOfUse: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue