Incorrect redirect url after login in multi domain setups
authorAlexander Ebert <ebert@woltlab.com>
Mon, 17 May 2021 17:05:06 +0000 (19:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 17 May 2021 17:05:06 +0000 (19:05 +0200)
com.woltlab.wcf/templates/permissionDenied.tpl

index 13cd8c31be304658f8e4e1e4a0cdbb63fc9cae01..d80d994b8b968c3a58e407bf580e6467db156350 100644 (file)
@@ -35,7 +35,7 @@
                <h2 class="sectionTitle">{lang}wcf.user.login{/lang}</h2>
                
                <p>{lang}wcf.page.error.loginAvailable{/lang}</p>
-               <p style="margin-top: 20px"><a href="{link controller='Login' url=$__wcf->session->requestURI}{/link}" class="button"><span class="icon icon16 fa-key"></span> {lang}wcf.user.loginOrRegister{/lang}</a></p>
+               <p style="margin-top: 20px"><a href="{link controller='Login' url=$__wcf->getRequestURI()}{/link}" class="button"><span class="icon icon16 fa-key"></span> {lang}wcf.user.loginOrRegister{/lang}</a></p>
        </section>
 {/if}