From 53449c5d3c1d6254c0ee85af84992271e37c9cd1 Mon Sep 17 00:00:00 2001 From: Emiliano Frascaro Date: Sat, 8 Aug 2026 11:30:51 +0200 Subject: [PATCH] =?UTF-8?q?Allinea=20le=20password=20di=20seed=20alla=20nu?= =?UTF-8?q?ova=20policy=20di=20complessit=C3=A0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- backend/db/seeds.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/db/seeds.rb b/backend/db/seeds.rb index ac4d1a3..9ffd5bc 100644 --- a/backend/db/seeds.rb +++ b/backend/db/seeds.rb @@ -1,18 +1,18 @@ load Rails.root.join("db/seeds/plans.rb") AdminAccount.find_or_create_by!(username: "admin") do |a| - a.password = "admin" + a.password = "AdminPass123" end coach = User.find_or_create_by!(email: "coach@matchlivetv.test") do |u| u.name = "Coach Demo" - u.password = "password123" + u.password = "Password123" u.role = "coach" end admin = User.find_or_create_by!(email: "admin@matchlivetv.test") do |u| u.name = "Admin" - u.password = "password123" + u.password = "Password123" u.role = "admin" end @@ -41,5 +41,5 @@ match = team.matches.find_or_create_by!(opponent_name: "ASD Eagles Pavia") do |m m.phase = "Semifinale" end -puts "Seed OK: coach@matchlivetv.test / password123" +puts "Seed OK: coach@matchlivetv.test / Password123" puts "Club: #{club.name}, Team: #{team.name}, Match: #{match.opponent_name}"