[SOGo] Use JS for mailcow logout

This commit is contained in:
FreddleSpl0it 2025-03-31 11:32:01 +02:00
parent 9b41b24522
commit f37961b7d0
No known key found for this signature in database
GPG key ID: 00E14E7634F4BEC5
3 changed files with 12 additions and 6 deletions

View file

@ -7,14 +7,10 @@
< </md-button>
< <md-button class="md-icon-button"
83c76
< onclick="document.getElementById('mc_logout').setAttribute('action', '/'); document.getElementById('mc_logout').submit();"
< onclick="mc_logout();"
---
> ng-show="::activeUser.path.logoff.length"
85c78
< ng-href="#">
---
> ng-href="{{::activeUser.path.logoff}}">
89,91d81
< <form method="POST" id="mc_logout" action="user">
< <input type="hidden" name="logout" value="1">
< </form>