Custom login page and exceptions from login controller

Permalink
Hi,

when telling concrete5 to use the sites theme to display login page via site_theme_paths.php exceptions thrown by the login controller are not being displayed anymore. Is there a way to "catch" those and display a proper message to the user (i.e. wrong password)?

Many thanks,
Dietmar

 
Mnkras replied on at Permalink Reply
Mnkras
Insert this where you want the error to show up:

Loader::element('system_errors', array('error' => $error);


Mike
hypertransit replied on at Permalink Reply
Hi Mike,

works fine.. Many thanks.

Dietmar