hisham-cmd commited on
Commit
84ae7ef
·
verified ·
1 Parent(s): 9bcfdec

Update backend with high-quality catalog and fixes

Browse files
Files changed (1) hide show
  1. app/api/seed.py +1 -2
app/api/seed.py CHANGED
@@ -127,8 +127,7 @@ async def seed_database(clear: bool = False, db: Session = Depends(get_db)):
127
  name="Platform Administrator",
128
  password_hash=hash_password("admin123"),
129
  role=UserRole.ADMIN,
130
- auth_provider=AuthProvider.LOCAL,
131
- is_active=True
132
  )
133
  db.add(admin_user)
134
  db.commit()
 
127
  name="Platform Administrator",
128
  password_hash=hash_password("admin123"),
129
  role=UserRole.ADMIN,
130
+ auth_provider=AuthProvider.LOCAL
 
131
  )
132
  db.add(admin_user)
133
  db.commit()