We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 158d621 commit 0c5e846Copy full SHA for 0c5e846
src/SIL.XForge.Scripture/Startup.cs
@@ -292,7 +292,11 @@ IExceptionHandler exceptionHandler
292
endpoints.MapHub<NotificationHub>(pattern: $"/{UrlConstants.ProjectNotifications}");
293
var authOptions = Configuration.GetOptions<AuthOptions>();
294
endpoints.MapHangfireDashboard(
295
- new DashboardOptions { Authorization = [new HangfireDashboardAuthorizationFilter(authOptions)] }
+ new DashboardOptions
296
+ {
297
+ Authorization = [new HangfireDashboardAuthorizationFilter(authOptions)],
298
+ IgnoreAntiforgeryToken = true,
299
+ }
300
);
301
});
302
0 commit comments