Missed a file.
This commit is contained in:
		
							parent
							
								
									3fbeaf87e3
								
							
						
					
					
						commit
						2c330efc64
					
				| @ -28,7 +28,6 @@ class AuthController extends Controller { | ||||
|   | ||||
|             // TODO: move into user model
 | ||||
|             global $db; | ||||
|             //$db = Util::get_db();
 | ||||
|             $stmt = $db->prepare("SELECT id, username, password_hash FROM user WHERE username = ?"); | ||||
|             $stmt->execute([$username]); | ||||
|             $user = $stmt->fetch(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user