Send default settings when there is no user yet
This commit is contained in:
parent
6c6a9e12cf
commit
7fb0cd3e6a
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ func getIndexData(r *http.Request, state *State) *indexData {
|
||||||
}
|
}
|
||||||
|
|
||||||
if state == nil {
|
if state == nil {
|
||||||
|
data.Settings = storage.DefaultClientSettings()
|
||||||
return &data
|
return &data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue