Tweaks, fixes, and version bump
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// eslint-disable-next-line import/named
|
||||
import { Strategy as LocalStrategy } from 'passport-local';
|
||||
|
||||
import { authenticate } from '@mifi/services-common/lib/db/api/authenticate';
|
||||
import { authenticate } from '@mifi/auth-db/lib/api/authenticate';
|
||||
|
||||
export default new LocalStrategy(async (username: string, password: string, done: any) => {
|
||||
const user = await authenticate(username, password);
|
||||
|
||||
Reference in New Issue
Block a user