Hide obsolete activation notice in redirects
authorMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 20:17:13 +0000 (22:17 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 20:17:18 +0000 (22:17 +0200)
com.woltlab.wcf/templates/userNotice.tpl

index 53c011e81aeb63196862d9cd49bacbe3cd094205..3a70bea18855a9aa97161af68a89d87d2bd63658 100644 (file)
@@ -10,7 +10,7 @@
                <p class="info">{lang}wcf.page.availableUpdates{/lang}</p>
        {/if}
        
-       {if $__wcf->user->activationCode && REGISTER_ACTIVATION_METHOD == 1 && $templateName != 'registerActivation'}
+       {if $__wcf->user->activationCode && REGISTER_ACTIVATION_METHOD == 1 && $templateName != 'registerActivation' && $templateName != 'register' && $templateName != 'redirect'}
                <p class="warning">{lang}wcf.user.register.needActivation{/lang}</p>
        {/if}