Use cookie everywhere
This commit is contained in:
		| @ -1,5 +1,4 @@ | ||||
| using System; | ||||
| using System.Globalization; | ||||
| using System; | ||||
| using System.Linq; | ||||
| using System.Reflection; | ||||
| using Microsoft.AspNetCore.Builder; | ||||
| @ -31,8 +30,6 @@ namespace Oqtane.Extensions | ||||
|             var defaultCulture = localizationManager.GetDefaultCulture(); | ||||
|             var supportedCultures = localizationManager.GetSupportedCultures(); | ||||
|  | ||||
|             CultureInfo.CurrentUICulture = new CultureInfo(defaultCulture); | ||||
|  | ||||
|             app.UseRequestLocalization(options => { | ||||
|                 options.SetDefaultCulture(defaultCulture) | ||||
|                     .AddSupportedUICultures(supportedCultures) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 hishamco
					hishamco