diff --git a/classes/lnApp/Controller/User/Account.php b/classes/lnApp/Controller/User/Account.php index 2858147..902b066 100644 --- a/classes/lnApp/Controller/User/Account.php +++ b/classes/lnApp/Controller/User/Account.php @@ -10,9 +10,11 @@ * @license http://dev.leenooks.net/license.html */ abstract class lnApp_Controller_User_Account extends Controller_Account { + protected $auth_required = TRUE; + protected $secure_actions = array( - 'edit'=>TRUE, - 'resetpassword'=>TRUE, + 'edit'=>0, + 'resetpassword'=>0, ); /** diff --git a/classes/lnApp/Controller/User/Welcome.php b/classes/lnApp/Controller/User/Welcome.php index 75ed0fa..3f705fe 100644 --- a/classes/lnApp/Controller/User/Welcome.php +++ b/classes/lnApp/Controller/User/Welcome.php @@ -12,6 +12,10 @@ abstract class lnApp_Controller_User_Welcome extends Controller_Welcome { protected $auth_required = TRUE; + protected $secure_actions = array( + 'index'=>0, + ); + public function action_index() { throw HTTP_Exception::factory(500,'Site not setup!'); } diff --git a/views/account/user/edit.php b/views/account/user/edit.php index aa67c36..d5a38c3 100644 --- a/views/account/user/edit.php +++ b/views/account/user/edit.php @@ -1,7 +1,7 @@