- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 184
 
Description
Description
Previously, we could specifiy in a user blueprint where a user should be redirected upon login via the panel login form. I set up two blueprints (admin.yml and user.yml) where admin has panel access and user does not, and specified that the user should be redirected to the frontend home page after login.
However, when trying to log in as a user (associated with user.yml) I get a Load failed error, and when trying to reload the panel, the page fails completely with a Too many page redirects error. This results in a total panel failure, and the only way to make it work again, is to delete all session files in site/sessions.
Here is the user.yml setup, that works in the latest Kirby 3.9.5 versions, but not in the latest 4.0.0-alpha.4 version (have double checked and tested in both versions):
title: User
home: /
permissions:
  access:
    panel: falseExpected behaviour
As in the stable K3 release version, I was expecting the user to be redirected to the home page as instructed through home: /.
Screenshots
Before login

After entering user credentials and clicking login

After trying to reload the panel login page

Setup
- Kirby 4.0.0-alpha.4
 
Console output
- TypeError: Load failed (error index.js:1:368579) — see screenshot above
 
System
- Device: MacBook Pro
 - OS: macOS
 - Browser: Safari
 - Version: 16.5