mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
Adds LDAP auth support
This commit is contained in:
@ -7,7 +7,7 @@ type Filter struct {
|
||||
Value []string `json:"value"`
|
||||
}
|
||||
|
||||
// FilterMapValue ...
|
||||
// FilterMapValue is the structure of a filter map value
|
||||
type FilterMapValue struct {
|
||||
Type string
|
||||
Field string
|
||||
|
@ -15,7 +15,7 @@ type Sort struct {
|
||||
Direction string `json:"direction"`
|
||||
}
|
||||
|
||||
// GetSort ...
|
||||
// GetSort is the sort array
|
||||
func (p *PageInfo) GetSort(def Sort) []Sort {
|
||||
if p.Sort == nil {
|
||||
return []Sort{def}
|
||||
|
@ -18,7 +18,7 @@ func TestPageInfoGetSort(t *testing.T) {
|
||||
Direction: "asc",
|
||||
}
|
||||
defined := Sort{
|
||||
Field: "nickname",
|
||||
Field: "email",
|
||||
Direction: "desc",
|
||||
}
|
||||
// default
|
||||
|
Reference in New Issue
Block a user