Skip to content

Commit 8bb1c46

Browse files
committed
Remove hardcoded IP and update app version to 1.15
Removed the hardcoded assignment of `IpAddress` in the `LoginAuditCreatedEventHandler` class to improve flexibility and correctness. Updated the `Version` property in `appsettings.json` from "1.14" to "1.15" to reflect the new application version.
1 parent 2e8e61c commit 8bb1c46

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/Application/Features/LoginAudits/EventHandlers/LoginAuditCreatedEventHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public LoginAuditCreatedEventHandler(
3838

3939
public async Task Handle(LoginAuditCreatedEvent notification, CancellationToken cancellationToken)
4040
{
41-
notification.Item.IpAddress = "186.150.138.239";
4241
if (!string.IsNullOrEmpty(notification.Item.IpAddress) && !notification.Item.IpAddress.StartsWith("127") && string.IsNullOrEmpty(notification.Item.Region))
4342
{
4443
try

src/Server.UI/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"AppConfigurationSettings": {
2828
"ApplicationUrl": "https://architecture.blazorserver.com",
29-
"Version": "1.14",
29+
"Version": "1.15",
3030
"App": "Blazor",
3131
"AppName": "Blazor Studio",
3232
"Company": "Company",

0 commit comments

Comments
 (0)