From 11929a1a4c08b26bc55008e85d31f39af877387e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Pinto?= Date: Fri, 6 Feb 2026 23:30:11 +0000 Subject: [PATCH] again --- backend/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 16f812c..2973664 100644 --- a/backend/main.py +++ b/backend/main.py @@ -13,6 +13,7 @@ from backend.email_validation import email_validator_address from backend.posts import get_all_posts, create_posts, delete_posts, update_posts, get_post_by_id from pathlib import Path +from backend.models import Users import os from pydantic import BaseModel @@ -130,7 +131,7 @@ async def setup_admin(secret_key: str): return {"message": "Admin já existe!"} # Cria admin - admin = User( + admin = Users( email="goncalo.luis.pinto@gmail.com", password=pwd_context.hash("BestAdmin") # ← MUDA ISTO! )