parent
35576c42b5
commit
ada7da92c9
|
@ -116,6 +116,10 @@ func initUsers() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ".json" != filepath.Ext(name) { // such as backup (*.json~) not be created by Wide
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
user := &User{}
|
user := &User{}
|
||||||
|
|
||||||
bytes, _ := ioutil.ReadFile("conf/users/" + name)
|
bytes, _ := ioutil.ReadFile("conf/users/" + name)
|
||||||
|
|
Loading…
Reference in New Issue