diff options
| author | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
| commit | 7f2af99704879018837ccc1d971244dbf6dc12d6 (patch) | |
| tree | 447e4a87e739ba4e53e8f31f6e1883cd54896dde /src/lib/utils.js | |
| parent | c22e33eeb22529c07ac9e701dc87537b2a272f70 (diff) | |
| download | coinos-ui-7f2af99704879018837ccc1d971244dbf6dc12d6.tar.gz coinos-ui-7f2af99704879018837ccc1d971244dbf6dc12d6.zip | |
prettier
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js index e4b1194f..2b5dda90 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -137,7 +137,7 @@ export const login = async (user, cookies) => { let expires = new Date(); expires.setSeconds(expires.getSeconds() + maxAge); - let opts = { path: '/', expires } + let opts = { path: '/', expires }; cookies.set('username', user.username, opts); cookies.set('token', token, opts); }; |
