From d2d2aa4855750dac29ab6a431115b180cf8d0f50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 4 Jun 2021 12:16:13 +0200 Subject: [PATCH] Show a masked IP address in accountSecurity.tpl --- com.woltlab.wcf/templates/accountSecurity.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}
-- 2.20.1