Skip to content

Commit 9417c79

Browse files
Reuse litestream_credentials value for username and password
1 parent fda9db5 commit 9417c79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/litestream/generators/litestream/templates/initializer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
# config.litestream.base_controller_class = "MyApplicationController"
4141
#
4242
# Set authentication credentials for Litestream dashboard
43-
# config.litestream.username = Rails.application.credentials.dig(:litestream, :username)
44-
# config.litestream.password = Rails.application.credentials.dig(:litestream, :password)
43+
# config.litestream.username = litestream_credentials&.username
44+
# config.litestream.password = litestream_credentials&.password
4545
end

0 commit comments

Comments
 (0)