Skip to content

Commit 01d1090

Browse files
committed
fixup! fix(auth): validation of H1 tokens
lint
1 parent 9d14e56 commit 01d1090

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/auth.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ describe('auth', async function() {
101101

102102
it('accepts a valid H1 token format', async function() {
103103
await runAuthScript(
104-
{ HOME: { h1_username: 'nyancat', h1_token: 'wWIDaa7wz7uGIryWLuqbJRhqUkLI6qlemK1KaMChhpC=' } },
104+
{
105+
HOME: { h1_username: 'nyancat', h1_token: 'wWIDaa7wz7uGIryWLuqbJRhqUkLI6qlemK1KaMChhpC=' }
106+
},
105107
['{"h1":"bnlhbmNhdDp3V0lEYWE3d3o3dUdJcnlXTHVxYkpSaHFVa0xJNnFsZW1LMUthTUNoaHBDPQ=="}'],
106108
'',
107109
'run-auth-h1'

0 commit comments

Comments
 (0)