server/perkeepd/ui: use TokenOrNone in selectall

Omission from 8130bd61ef

Change-Id: Iecf31de608283f12d48ef150d42c7cf55c055d16
This commit is contained in:
mpl 2018-10-07 19:15:41 +02:00
parent bcb0ec628e
commit dc4c57880c
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ func (d SelectAllBtnDef) findAll() (map[string]bool, error) {
return nil, nil
}
authToken := d.Props().authToken
am, err := auth.NewTokenAuth(authToken)
am, err := auth.TokenOrNone(authToken)
if err != nil {
return nil, fmt.Errorf("Error setting up auth: %v", err)
}