ActivityPub-federated video streaming platform using P2P directly in your web browser
fix lint errors
BO41be1206bb934c
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.ts b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.tsindex c4837460a9..da0021df99 100644--- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.ts+++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.ts@@ -5,8 +5,8 @@ import { I18n } from '@ngx-translate/i18n-polyfill'import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service'import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service'import { filter } from 'rxjs/operators'-import { AuthService } from '@app/core';-import { User } from '../../../../../../shared';+import { AuthService } from '@app/core'+import { User } from '../../../../../../shared'@Component({selector: 'my-account-change-password',@@ -46,7 +46,7 @@ export class MyAccountChangePasswordComponent extends FormReactive implements OncheckPassword () {this.error = null- const oldPassword = this.form.value[ 'old-password' ];+ const oldPassword = this.form.value[ 'old-password' ]// compare old passwordthis.authService.login(this.user.account.name, oldPassword)@@ -60,7 +60,7 @@ export class MyAccountChangePasswordComponent extends FormReactive implements On}- private changePassword(){+ private changePassword () {this.userService.changePassword(this.form.value[ 'new-password' ]).subscribe(() => {this.notificationsService.success(this.i18n('Success'), this.i18n('Password updated.'))