mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Rename local password check method
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
277e2fb1ca
commit
820a1ae43a
4 changed files with 8 additions and 8 deletions
|
@ -70,7 +70,7 @@ export class AuthController {
|
|||
@Body() changePasswordDto: UpdatePasswordDto,
|
||||
): Promise<void> {
|
||||
try {
|
||||
await this.identityService.loginWithLocalIdentity(
|
||||
await this.identityService.checkLocalPassword(
|
||||
user,
|
||||
changePasswordDto.currentPassword,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue