File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
musicfestival-backend-dotnet
musicfestival-frontend-react/src/pages Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
using System . Runtime . InteropServices ;
2
2
using EPiServer . Cms . Shell ;
3
+ using EPiServer . Cms . Shell . UI ;
3
4
using EPiServer . Cms . UI . AspNetIdentity ;
4
5
using EPiServer . ContentApi . Cms ;
5
6
using EPiServer . ContentApi . Core . DependencyInjection ;
@@ -59,7 +60,8 @@ public void ConfigureServices(IServiceCollection services)
59
60
services
60
61
. AddCmsAspNetIdentity < ApplicationUser > ( )
61
62
. AddCms ( )
62
- . AddAdminUserRegistration ( )
63
+ . AddAdminUserRegistration ( options => options . Behavior = RegisterAdminUserBehaviors . Enabled |
64
+ RegisterAdminUserBehaviors . LocalRequestsOnly )
63
65
. AddEmbeddedLocalization < Program > ( )
64
66
. ConfigureForExternalTemplates ( )
65
67
. Configure < ExternalApplicationOptions > ( options => options . OptimizeForDelivery = true )
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function BuyTicketPage({ content }: BuyTicketPageProps) {
56
56
< Form
57
57
key = { key }
58
58
formKey = { key }
59
- language = { c . ContentLink . Ex }
59
+ language = { c . ContentLink . Expanded . Language . Name }
60
60
baseUrl = { process . env . REACT_APP_HEADLESS_FORM_BASE_URL ?? "/" }
61
61
identityInfo = { identityInfo }
62
62
history = { history }
You can’t perform that action at this time.
0 commit comments