Skip to content

Commit 728c74e

Browse files
committed
Update password value to static
1 parent 4eccc73 commit 728c74e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/seeder/seeder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func Seeder(db *gorm.DB) {
1313
for i := 0; i < 30; i++ {
14-
hashed, err := bcrypt.GenerateFromPassword([]byte(faker.Word()), bcrypt.DefaultCost)
14+
hashed, err := bcrypt.GenerateFromPassword([]byte("rahasia"), bcrypt.DefaultCost)
1515
exception.PanicIfNeeded(err)
1616
db.Create(&entity.User{
1717
Email: faker.Word() + "@gmail.com",

0 commit comments

Comments
 (0)