Update CMS navigation links and remove membership application page
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 46s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 46s
This commit modifies the Navigation component and the CMS index page to replace the "Mitglieder" link with "Mitgliederverwaltung" and updates the corresponding route. Additionally, it removes the outdated "mitgliedschaftsantraege" page, streamlining the CMS structure and improving user navigation.
This commit is contained in:
@@ -12,16 +12,13 @@ export function getCookieSecureDefault() {
|
||||
|
||||
export function getSameSiteDefault() {
|
||||
// Cookie SameSite-Konfiguration
|
||||
// - 'none': Erlaubt Cookies in Cross-Site-iframes (erfordert Secure: true)
|
||||
// - 'lax': Erlaubt Cookies bei Navigation (Standard für Cross-Site)
|
||||
// - 'strict': Blockiert alle Cross-Site-Cookies (sicherste Option, blockiert iframes)
|
||||
// - 'lax': Erlaubt Cookies bei Navigation (Standard)
|
||||
// - 'strict': Blockiert alle Cross-Site-Cookies (sicherste Option)
|
||||
// - 'none': Erlaubt Cookies in Cross-Site-iframes (erfordert Secure: true / HTTPS)
|
||||
const v = (process.env.COOKIE_SAMESITE || '').toLowerCase().trim()
|
||||
if (v === 'strict' || v === 'lax' || v === 'none') return v
|
||||
|
||||
// Default: 'none' für Cross-Site-iframes (wenn in iframe eingebettet)
|
||||
// WICHTIG: SameSite: none erfordert Secure: true (HTTPS)
|
||||
// Falls iframe-Einbettung nicht benötigt wird, kann auf 'strict' oder 'lax' geändert werden
|
||||
return 'none' // Ermöglicht Einbettung in iframes (z.B. von harheimertc.de)
|
||||
return 'lax'
|
||||
}
|
||||
|
||||
export function getAuthCookieOptions() {
|
||||
|
||||
Reference in New Issue
Block a user