Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Auth plugin does not stop execution #4

Open
sanderborgman opened this issue Feb 5, 2016 · 0 comments
Open

Auth plugin does not stop execution #4

sanderborgman opened this issue Feb 5, 2016 · 0 comments

Comments

@sanderborgman
Copy link
Collaborator

The Auth plugin (Vegas\Security\Authentication\EventsManager\Plugin) does not stop the view (and maybe even controller code?) from executing when the user is not logged in. For example:

➜  ~  curl http://[HOSTNAME]/admin/page/index
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>ErrorException: Undefined variable: pages</title><link href="jquery/jquery-ui.css" type="text/css" rel="stylesheet" /><link href="default/style.css" type="text/css" rel="stylesheet" /></head><body>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant