From: Tim Düsterhus Date: Fri, 4 Jun 2021 10:16:13 +0000 (+0200) Subject: Show a masked IP address in accountSecurity.tpl X-Git-Tag: 5.4.0_Beta_2~30^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2d2aa4855750dac29ab6a431115b180cf8d0f50;p=GitHub%2FWoltLab%2FWCF.git Show a masked IP address in accountSecurity.tpl --- diff --git a/com.woltlab.wcf/templates/accountSecurity.tpl b/com.woltlab.wcf/templates/accountSecurity.tpl index 47c700d1e5..071203228d 100644 --- a/com.woltlab.wcf/templates/accountSecurity.tpl +++ b/com.woltlab.wcf/templates/accountSecurity.tpl @@ -83,7 +83,7 @@
{if $session->isCurrentSession()}{lang}wcf.user.security.currentSession{/lang}{else}{@$session->getLastActivityTime()|time}{/if}
{lang}wcf.user.security.ipAddress{/lang}
-
{$session->getIpAddress()}
+
{$session->getIpAddress()->mask(16, 48)}