mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
feat: separate db models from server
This commit is contained in:
1 parent
784ae29ed0
commit
50bf514805
23 files changed
+90
-31
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import bcrypt from 'bcrypt'
|
||||
import LocalStrategy from 'passport-local'
|
||||
import User from '../models/user.js'
|
||||
import { User } from '@linux-odyssey/models'
|
||||
|
||||
async function verifyPassword(username, password, done) {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user