Send default settings when there is no user yet

This commit is contained in:
Ken-Håvard Lieng 2018-10-15 09:06:43 +02:00
parent 6c6a9e12cf
commit 7fb0cd3e6a
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ func getIndexData(r *http.Request, state *State) *indexData {
}
if state == nil {
data.Settings = storage.DefaultClientSettings()
return &data
}