Giter Site home page Giter Site logo

fe-login-mode's Introduction

"Frontend user login mode" - A rarely used TYPO3 functionality

The "frontend user login mode" functionality has been introduced to TYPO3 by Kasper back in 2004 to overcome caching issues on typo3.org and is rather an edge-case feature. Therefore, it is no longer part of the TYPO3 Core from v12.0+ onwards, but available as an extension, which solves the problem via modern techniques (using PSR-15 middlewares).

So what does it do?

The extension adds a new TCA field fe_login_mode to the pages table.

Using this field one can define branches, which should behave like if a user or user group is not logged in, even though the cookie - and the session - is kept for other areas of a website. This is useful when trying to reduce the amount of possible cache variants, especially in installations with complex user and user group setups.

As previously available in the Core, the TypoScript option config.sendCacheHeaders_onlyWhenLoginDeniedInBranch can be used to further restrict the transmission of cache headers.

Installation

In case you update a TYPO3 installation from v11 to v12, you can use the corresponding "Upgrade Wizard" in the TYPO3 install tool to fetch and install the extension.

Otherwise, install the extension either via composer composer req o-ba/fe-login-mode or download the extension from the TYPO3 Extension Repository and activate it in the Extension Manager of your TYPO3 installation.

License

The extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.

Open Issues

If you find an issue, feel free to report it on GitHub. You can also directly create a pull request.

Credits

This extension was created by Oliver Bartsch in 2022. The original credits go to the TYPO3 development team and the contributors, who have maintained this code for over 18 years until it was removed from Core.

fe-login-mode's People

Contributors

o-ba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.