Touch-ups and adding drone pipeline
This commit is contained in:
@@ -3,7 +3,7 @@ import { Strategy as LocalStrategy } from 'passport-local';
|
||||
|
||||
import { authenticate } from '@mifi/auth-db/lib/api/authenticate';
|
||||
|
||||
export default new LocalStrategy(async (username: string, password: string, done: any) => {
|
||||
export default new LocalStrategy(async (username, password, done) => {
|
||||
const user = await authenticate(username, password);
|
||||
done(null, user);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user