|
|
|
@ -8,7 +8,6 @@ import { UserService } from '@ghostfolio/client/services/user/user.service';
|
|
|
|
|
import { InfoItem, LineChartItem } from '@ghostfolio/common/interfaces';
|
|
|
|
|
import { hasPermission, permissions } from '@ghostfolio/common/permissions';
|
|
|
|
|
import { Role } from '@prisma/client';
|
|
|
|
|
import { format } from 'date-fns';
|
|
|
|
|
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
|
|
|
import { Subject } from 'rxjs';
|
|
|
|
|
import { takeUntil } from 'rxjs/operators';
|
|
|
|
@ -22,7 +21,6 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog/show-access-to
|
|
|
|
|
templateUrl: './register-page.html'
|
|
|
|
|
})
|
|
|
|
|
export class RegisterPageComponent implements OnDestroy, OnInit {
|
|
|
|
|
public currentYear = format(new Date(), 'yyyy');
|
|
|
|
|
public demoAuthToken: string;
|
|
|
|
|
public deviceType: string;
|
|
|
|
|
public hasPermissionForSocialLogin: boolean;
|
|
|
|
|