Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit 836fccf

Browse files
authored
Update Seeder.swift
1 parent 01436df commit 836fccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AdminPanel/Support/Seeder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class Seeder: Command, ConfigInitializable {
2424
var node = Node.object([:])
2525
try node.set("name", "Admin")
2626
try node.set("email", "[email protected]")
27-
try node.set("password", BCryptHasher().make("admin"))
27+
try node.set("password", BCryptHasher().make("admin").makeString())
2828
try node.set("role", "super-admin")
2929
try node.set("updated_at", Date().toDateTimeString())
3030
try node.set("created_at", Date().toDateTimeString())

0 commit comments

Comments
 (0)