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 c825727 commit 797976aCopy full SHA for 797976a
content/security/authentication.md
@@ -135,7 +135,7 @@ export class AuthService {
135
this.usersService = usersService;
136
}
137
138
- async signIn(username, pass) {
+ async signIn(username: string, pass: string) {
139
const user = await this.usersService.findOne(username);
140
if (user?.password !== pass) {
141
throw new UnauthorizedException();
0 commit comments