Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

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

Started by nix 8 years ago · 5 replies · 922 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 Andy Miller, 7 days ago
0 117 7 days ago
General · by lynbor, 1 month ago
3 445 2 weeks ago
General · by lynbor, 3 weeks ago
7 564 2 weeks ago
General · by Harry, 2 weeks ago
0 165 2 weeks ago
General · by Old Man Umby, 1 month ago
2 310 4 weeks ago