Skip to content

Commit

Permalink
remove registration setting change
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer authored Jan 2, 2025
1 parent 44e0f3e commit cd382fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/app/account/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export class SettingsComponent implements OnInit {
account: User;
languages = LANGUAGES;
settingsForm: FormGroup;
isRegistrationEnabled = true;
isRegistrationEnabled = false;

ngOnInit() {
this.profileService.getProfileInfo().subscribe((profileInfo) => {
if (profileInfo) {
this.isRegistrationEnabled = true; //profileInfo.registrationEnabled || false;
this.isRegistrationEnabled = profileInfo.registrationEnabled || false;
}
});
this.accountService.identity().then((user) => {
Expand Down

0 comments on commit cd382fc

Please sign in to comment.