summary refs log tree commit diff
path: root/tests/config (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Check that the disable_registration config key is handled correctlyMark Haines2016-02-221-0/+21
|
* TypoErik Johnston2016-02-091-1/+1
|
* Fix testErik Johnston2016-02-091-3/+4
|
* Error if macaroon key is missing from configDaniel Wagner-Hall2016-02-053-0/+141
Currently we store all access tokens in the DB, and fall back to that check if we can't validate the macaroon, so our fallback works here, but for guests, their macaroons don't get persisted, so we don't get to find them in the database. Each restart, we generate a new ephemeral key, so guests lose access after each server restart. I tried to fix up the config stuff to be less insane, but gave up, so instead I bolt on yet another piece of custom one-off insanity. Also, add some basic tests for config generation and loading.