Skip to content

Commit

Permalink
remove devices from sessions page
Browse files Browse the repository at this point in the history
showed "Other"
  • Loading branch information
josxha committed Mar 22, 2024
1 parent 301561a commit cb5a41d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions KratosSelfService/Views/Sessions/Sessions.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@
{
var info = uaParser.Parse(device.UserAgent);
<p>
@info.Device.ToString() on @info.OS
(@device.IpAddress
@(string.IsNullOrWhiteSpace(device.Location) ? "" : $"({device.Location}"))
@info.OS
(@device.IpAddress@(string.IsNullOrWhiteSpace(device.Location) ? "" : $" {device.Location}"))
</p>
}
</td>
Expand Down

0 comments on commit cb5a41d

Please sign in to comment.