styles für register- und loginform hinzugefügt
This commit is contained in:
@@ -87,17 +87,19 @@ class UserController{
|
||||
public function showUserLoginConfirmation(){
|
||||
$userId = $this->getCurrentUserId();
|
||||
$user = null;
|
||||
var_dump($user . "user");
|
||||
if($userId){
|
||||
$user = $this->db->getUserById($userId);
|
||||
}
|
||||
include 'Views/User/showUserLoginConfirmation.phtml';
|
||||
|
||||
$path = "Views/User/showUserLoginConfirmation.phtml";
|
||||
if(file_exists($path)){
|
||||
include $path;
|
||||
}
|
||||
}
|
||||
|
||||
public function register(){
|
||||
$this->db->createUser($_POST);
|
||||
$this->view->setDoMethodName("showUserRegisterConfirmation");
|
||||
$this->showUserRegisterConfirmation();
|
||||
$this->login();
|
||||
}
|
||||
|
||||
public function login(){
|
||||
|
Reference in New Issue
Block a user