allow signed data storage
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-01-03 15:13:03 +01:00
parent f39759bad9
commit 80d04f7441
4 changed files with 48 additions and 12 deletions

View File

@ -56,7 +56,7 @@ describe ('authority', () => {
});
it ('should create a part token', () => {
const token = auth.sign ('part_token', 60, '2fa');
const token = auth.sign ('part_token', 60, { next_module: '2fa' });
jasmine.clock ()
.tick (30000);
const res = auth.verify (token.signature);