introduce the jwt-guard
This commit is contained in:
1 parent
0827ccd1b1
commit
1d7f9e7e5a
1 file changed
+5
@@ -0,0 +1,5 @@
|
|||||||
|
import { Injectable } from '@nestjs/common';
|
||||||
|
import { AuthGuard } from '@nestjs/passport';
|
||||||
|
|
||||||
|
@Injectable()
|
||||||
|
export class JwtGuard extends AuthGuard('jwt') {}
|
||||||
Reference in new issue
Block a user