small fixes and refactoring
This commit is contained in:
@@ -29,8 +29,9 @@ func autoLogout(w http.ResponseWriter) {
|
||||
err = user.Logout()
|
||||
if err != nil {
|
||||
fmt.Printf("Error logging out user %v\n", err)
|
||||
}
|
||||
}else {
|
||||
logged_out_users = append(logged_out_users, user)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user