logoutable
parent
937e3c7fcb
commit
6e220266b3
|
@ -23,6 +23,14 @@
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<div class="card flex column">
|
||||
<h3>خروج از حساب کاربری</h3>
|
||||
<p class="subtitle">خروج از حساب کاربری که وارد شده اید تا بتوانید دوباره وارد شوید.</p>
|
||||
|
||||
<button class="delete-button" (click)="Logout()">
|
||||
خروج از حساب کاربری
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<app-kyc></app-kyc>
|
|
@ -22,6 +22,10 @@ export class ProfileComponent implements OnInit {
|
|||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
public Logout(): void {
|
||||
this._CoreService.ForgetAuth()
|
||||
}
|
||||
|
||||
public async ChangePassword(): Promise<void> {
|
||||
try {
|
||||
if (this.Password.length == 0) return this._CoreService.Toast('کلمه عبور وارد نشده است.')
|
||||
|
|
Loading…
Reference in New Issue