Rename local password check method

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2022-01-03 23:41:34 +01:00 committed by David Mehren
parent 277e2fb1ca
commit 820a1ae43a
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 8 additions and 8 deletions

View file

@ -70,7 +70,7 @@ export class AuthController {
@Body() changePasswordDto: UpdatePasswordDto,
): Promise<void> {
try {
await this.identityService.loginWithLocalIdentity(
await this.identityService.checkLocalPassword(
user,
changePasswordDto.currentPassword,
);