| @ -117,7 +117,7 @@ | ||||
|             { | ||||
|                 await logger.LogInformation("Login Successful For Username {Username}", Username); | ||||
|                 authstateprovider.NotifyAuthenticationChanged(); | ||||
|                 NavigationManager.NavigateTo(NavigateUrl(ReturnUrl)); | ||||
|                 NavigationManager.NavigateTo(NavigateUrl(ReturnUrl, "reload")); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|  | ||||
| @ -85,7 +85,7 @@ | ||||
|     string name = ""; | ||||
|     string type = "LocalDB"; | ||||
|     string server = "(LocalDb)\\MSSQLLocalDB"; | ||||
|     string database = "Oqtane-" + DateTime.Now.ToString("yyyyMMddHHmm"); | ||||
|     string database = "Oqtane-" + DateTime.UtcNow.ToString("yyyyMMddHHmm"); | ||||
|     string username = ""; | ||||
|     string password = ""; | ||||
|     string schema = ""; | ||||
|  | ||||
| @ -81,7 +81,7 @@ | ||||
|             notification.Subject = subject; | ||||
|             notification.Body = body; | ||||
|             notification.ParentId = null; | ||||
|             notification.CreatedOn = DateTime.Now; | ||||
|             notification.CreatedOn = DateTime.UtcNow; | ||||
|             notification.IsDelivered = false; | ||||
|             notification.DeliveredOn = null; | ||||
|  | ||||
|  | ||||
| @ -140,7 +140,7 @@ | ||||
|         notification.Subject = subject; | ||||
|         notification.Body = body; | ||||
|         notification.ParentId = notificationid; | ||||
|         notification.CreatedOn = DateTime.Now; | ||||
|         notification.CreatedOn = DateTime.UtcNow; | ||||
|         notification.IsDelivered = false; | ||||
|         notification.DeliveredOn = null; | ||||
|  | ||||
|  | ||||
| @ -37,6 +37,6 @@ else | ||||
|     protected override async Task OnInitializedAsync() | ||||
|     { | ||||
|         WeatherForecastService forecastservice = new WeatherForecastService(); | ||||
|         forecasts = await forecastservice.GetForecastAsync(DateTime.Now); | ||||
|         forecasts = await forecastservice.GetForecastAsync(DateTime.UtcNow); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker