Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Is it possible to login in admin and frontend at the same time?

Started by nix 8 years ago · 5 replies · 724 views
8 years ago

Hello,

I would like my users to have access to the admin panel to create and edit pages easily, and to have a few more options in the menu than regular visitors.

If I understand correctly, to do that the users must login in the admin and login in the frontend.
Is there a way for them to login to both at the same time?

👍 1
8 years ago

Another solution would be to detect in the frontend if people are connected to the admin, is this possible?

last edited 08/28/18 by nix
8 years ago

I found it.
It is a site global system configuration:
session.split = false
wonderful!

👍 4
8 years ago

Hi @nix ! Could you be more explicit ? I don't understand where to put session.split = false.
I've searched in system.yaml and found nothing.

8 years ago

Oops, I wasn't searching in the right system.yaml ^^
I found this in /system/blueprint/config/system.yaml :

YAML
        session.split:
            type: toggle
            label: PLUGIN_ADMIN.SESSION_SPLIT
            help: PLUGIN_ADMIN.SESSION_SPLIT_HELP
            highlight: 1
            options:
                1: PLUGIN_ADMIN.YES
                0: PLUGIN_ADMIN.NO
            default: true
            validate:
                type: bool

Still, how to deactivate it ?

I guess it is by setting default: true to default: false ?

👍 1
8 years ago

I configured it using the admin interface, switching it from "yes" to "no" in the configuration -> system tab.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 76 8 hours ago
General · by pamtbaau, 13 hours ago
1 47 13 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago