We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6480b3b commit b8c4ac3Copy full SHA for b8c4ac3
utils/db.ts
@@ -2,7 +2,7 @@ import Database from 'better-sqlite3'
2
import cryptoRandomString from 'crypto-random-string'
3
import bcrypt from 'bcrypt'
4
5
-export const db = new Database('db.sqlite', { verbose: console.log })
+export const db = new Database('db.sqlite')
6
7
export const createSession = (username: string) => {
8
const sessionToken = cryptoRandomString({length: 21, type: 'base64'})
0 commit comments