aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+login/login.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-24 17:13:57 +0200
committerChocobozzz <me@florianbigard.com>2023-05-24 17:13:57 +0200
commit431ebbd5e40cdae5326bcd631d9e086cfa4eae1e (patch)
tree9d9373f3b69cfc5b3f7194389ae82087f23c2ac0 /client/src/app/+login/login.component.ts
parent54909304287f3c04dcfb39660be8ead57dc95440 (diff)
downloadPeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.tar.gz
PeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.tar.zst
PeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.zip
Migrate deprecated accordion component
Diffstat (limited to 'client/src/app/+login/login.component.ts')
-rw-r--r--client/src/app/+login/login.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts
index 1e224db8c..a414a2121 100644
--- a/client/src/app/+login/login.component.ts
+++ b/client/src/app/+login/login.component.ts
@@ -7,7 +7,7 @@ import { LOGIN_PASSWORD_VALIDATOR, LOGIN_USERNAME_VALIDATOR } from '@app/shared/
7import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators' 7import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators'
8import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms' 8import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms'
9import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' 9import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance'
10import { NgbAccordion, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' 10import { NgbAccordionDirective, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'
11import { getExternalAuthHref } from '@shared/core-utils' 11import { getExternalAuthHref } from '@shared/core-utils'
12import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models' 12import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models'
13 13
@@ -23,7 +23,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni
23 @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef 23 @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef
24 @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent 24 @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent
25 25
26 accordion: NgbAccordion 26 accordion: NgbAccordionDirective
27 error: string = null 27 error: string = null
28 forgotPasswordEmail = '' 28 forgotPasswordEmail = ''
29 29