diff --git a/examples/api/auth.js b/examples/api/auth.js index 53f9e0778..28d580624 100644 --- a/examples/api/auth.js +++ b/examples/api/auth.js @@ -34,7 +34,8 @@ app.post('/login', (req, res, next) => { const accessToken = jsonwebtoken.sign( { username, - rand: Math.random() * 1000, + picture: 'https://github.com/nuxt.png', + name: 'User ' + username, scope: ['test', 'user'] }, 'dummy' diff --git a/examples/demo/layouts/default.vue b/examples/demo/layouts/default.vue index 42c6ab9d4..32e35406f 100644 --- a/examples/demo/layouts/default.vue +++ b/examples/demo/layouts/default.vue @@ -12,9 +12,10 @@