mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 11:10:11 +08:00
refactor: put passport to auth folder
This commit is contained in:
1 parent
41111f5036
commit
030dc95e24
8 files changed
+58
-76
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import passport from 'passport'
|
||||
import PasswordStrategy from './passwordStrategy.js'
|
||||
import JwtStrategy from './jwtStrategy.js'
|
||||
|
||||
passport.use(PasswordStrategy)
|
||||
passport.use(JwtStrategy)
|
||||
Reference in new issue
Block a user