Fix: unable to register
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and Deploy Zola Website / build_and_deploy (push) Successful in 12s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and Deploy Zola Website / build_and_deploy (push) Successful in 12s
				
			This commit is contained in:
		@@ -29,7 +29,7 @@ class User {
 | 
			
		||||
 | 
			
		||||
        $hashedPassword = password_hash($password, PASSWORD_BCRYPT);
 | 
			
		||||
 | 
			
		||||
        $stmt = $this->db->prepare("INSERT INTO users (username, email, password, points, created_at) VALUES (?, ?, ?, 0, NOW())");
 | 
			
		||||
        $stmt = $this->db->prepare("INSERT INTO users (username, email, password, created_at) VALUES (?, ?, ?, 0, NOW())");
 | 
			
		||||
        $stmt->bind_param("sss", $username, $email, $hashedPassword);
 | 
			
		||||
 | 
			
		||||
        if ($stmt->execute()) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user