Commit 781feef1 authored by ale's avatar ale

Fix typo

parent d86999d8
Pipeline #1347 passed with stage
in 15 seconds
......@@ -395,7 +395,7 @@ func NewServer(config *Config) (*Server, error) {
config: config,
}
if len(config.MemcacheServers) != nil {
if len(config.MemcacheServers) > 0 {
s.u2fShortTerm = newMemcacheU2FStorage(config.MemcacheServers)
s.otpShortTerm = newMemcacheOTPStorage(config.MemcacheServers)
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment