mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Fix generation of secret_key_base
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix generation of `secret_key_base`
|
||||
|
||||
## [1.3.0] - 2019-07-29
|
||||
|
||||
### Changed
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import Config
|
||||
|
||||
defmodule Util do
|
||||
def random_encoded_bytes do
|
||||
:crypto.strong_rand_bytes(6) |> Base.encode64()
|
||||
:crypto.strong_rand_bytes(64) |> Base.encode64()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user