Skip to content

Commit

Permalink
Added __ac to the logout URL
Browse files Browse the repository at this point in the history
  • Loading branch information
admbzts committed Jul 14, 2023
1 parent 1cde313 commit d6472a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/zms/zpt/common/zmi_body_header.zpt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</tal:block>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="manage_zmi_logout" data-turbolinks="false"
tal:attributes="href python:'{}?lang={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang']) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout';
tal:attributes="href python:'{}?lang={}&__ac_name={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang'],request.get('AUTHENTICATED_USER')) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout';
accesskey python:accesskey_map.get('LOGOUT',None)">
<i class="fas fa-sign-out-alt"></i>
Logout
Expand Down

0 comments on commit d6472a6

Please sign in to comment.