mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 16:38:50 -04:00
fix(frontend-config): use guest access level instead of allowAnonymous
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
56643ffd85
commit
1207ce7690
4 changed files with 17 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
@ -8,8 +8,8 @@ import { HttpMethod } from '../../src/handler-utils/respond-to-matching-request'
|
|||
|
||||
declare namespace Cypress {
|
||||
interface Chainable {
|
||||
loadConfig(additionalConfig?: Partial<typeof config>): Chainable<Window>,
|
||||
logIn: Chainable<Window>,
|
||||
loadConfig(additionalConfig?: Partial<typeof config>): Chainable<Window>
|
||||
logIn: Chainable<Window>
|
||||
logOut: Chainable<Window>
|
||||
}
|
||||
}
|
||||
|
@ -61,8 +61,8 @@ export const authProviders = [
|
|||
]
|
||||
|
||||
export const config = {
|
||||
allowAnonymous: true,
|
||||
allowRegister: true,
|
||||
guestAccess: 'write',
|
||||
authProviders: authProviders,
|
||||
branding: branding,
|
||||
useImageProxy: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue