(remove): Removed temp comments

This commit is contained in:
Blake Ridgway 2025-02-15 19:00:00 -06:00
parent 51f154ab73
commit 1652079874
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ class User(db.Model):
def __init__(self, username, password, hash_password=True): def __init__(self, username, password, hash_password=True):
self.username = username self.username = username
# Optionally hash the password automatically.
if hash_password: if hash_password:
self.password = generate_password_hash(password, method="pbkdf2:sha256") self.password = generate_password_hash(password, method="pbkdf2:sha256")
else: else:

View file

@ -10,7 +10,7 @@ load_dotenv()
app = Flask(__name__) app = Flask(__name__)
CORS(app) CORS(app)
app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv('DATABASE') # Or use DATABASE_URI from models app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv('DATABASE')
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
init_db(app) init_db(app)