This commit is contained in:
parent
d8c30c549e
commit
b2e98180a8
|
@ -299,7 +299,7 @@ func initCustomizedConfs() {
|
||||||
// 1. /static/user/{username}/style.css
|
// 1. /static/user/{username}/style.css
|
||||||
func UpdateCustomizedConf(username string) {
|
func UpdateCustomizedConf(username string) {
|
||||||
var u *User = nil
|
var u *User = nil
|
||||||
for _, user := range Wide.Users { // ... maybe a beauty of the trade-off between design and implementation
|
for _, user := range Wide.Users { // maybe it is a beauty of the trade-off of the another world between design and implementation
|
||||||
if user.Name == username {
|
if user.Name == username {
|
||||||
u = user
|
u = user
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue