Esempio n. 1
0
 public function actionRegister()
 {
     $account = new User();
     //$account->name = $_POST['name'];
     $account->email = $_POST['email'];
     $account->createUser();
     $account->setPassword($_POST['password']);
     View::display('main.tmpl');
 }