Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log in popup #8

Open
jonshutt opened this issue Jul 2, 2014 · 0 comments
Open

log in popup #8

jonshutt opened this issue Jul 2, 2014 · 0 comments

Comments

@jonshutt
Copy link

jonshutt commented Jul 2, 2014

not strictly an issue with this template, but by putting the login form in a popup, if you enter the wrong details it returns you do a 'page not found' page...

A quick 'fix' is to allow actions for the form to the page.php

private static $allowed_actions = array ('LoginForm', 'login');

then override the login function so that it redirects back to the standard login page...

public function login(){
    Controller::redirect('Security/login');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant