Send default settings when there is no user yet
This commit is contained in:
parent
6c6a9e12cf
commit
7fb0cd3e6a
@ -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…
Reference in New Issue
Block a user