Commit 5b573729 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Add missing default config value warning.

parent c848dcbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ There's a number of official [client libraries](https://github.com/heroiclabs) a

## Developer Console

Nakama has an embedded Web UI that is intended to be used by developer during their project development. You can navigate to it on your browser on [http://127.0.0.1:7351](http://127.0.0.1:7351).
Nakama has an embedded Web UI that is intended to be used by developers during their project development. You can navigate to it on your browser on [http://127.0.0.1:7351](http://127.0.0.1:7351).

<img src=".github/login.jpg?raw=true" title="Login view" width="125" align="left">
<img src=".github/status.jpg?raw=true" title="Status view" width="125" align="left">
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ func CheckConfig(logger *zap.Logger, config Config) map[string]string {
	}
	if config.GetSession().EncryptionKey == "defaultencryptionkey" {
		logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "session.encryption_key"))
		configWarnings["socket.encryption_key"] = "Insecure default parameter value, change this for production!"
		configWarnings["session.encryption_key"] = "Insecure default parameter value, change this for production!"
	}
	if config.GetRuntime().HTTPKey == "defaultkey" {
		logger.Warn("WARNING: insecure default parameter value, change this for production!", zap.String("param", "runtime.http_key"))