We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d5c0e commit b5676bfCopy full SHA for b5676bf
content/security/authentication.md
@@ -237,7 +237,6 @@ export class AuthService {
237
if (user?.password !== pass) {
238
throw new UnauthorizedException();
239
}
240
- const { password, ...result } = user;
241
const payload = { username: user.username, sub: user.userId };
242
return {
243
access_token: await this.jwtService.signAsync(payload),
@@ -262,7 +261,6 @@ export class AuthService {
262
261
263
264
265
266
267
268
0 commit comments