# CSRFHelper: Login: ?service=logout not working

**URL:** <https://forum.modmore.com/t/csrfhelper-login-service-logout-not-working/1872>\
**Category:** Open Source\
**Created:** [July 23, 2019, 8:04pm UTC](https://forum.modmore.com/t/csrfhelper-login-service-logout-not-working/1872 "2019-07-23T20:04:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![labr1005](https://forum.modmore.com/user_avatar/forum.modmore.com/labr1005/32/340_2.png) [@labr1005](https://forum.modmore.com/u/labr1005)\
**Post date:** [July 23, 2019, 8:04pm UTC](https://forum.modmore.com/t/csrfhelper-login-service-logout-not-working/1872/1 "2019-07-23T20:04:46Z")

</div>

Looks like `?service=logout` is not working when calling a resource that uses a Login snippet with `&preHooks=`csrfhelper_login``.

The user is not logged out.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [July 26, 2019, 4:39pm UTC](https://forum.modmore.com/t/csrfhelper-login-service-logout-not-working/1872/2 "2019-07-26T16:39:11Z")

</div>

That’s a known issue: [https://github.com/modmore/CSRFHelper/issues/2](https://github.com/modmore/CSRFHelper/issues/2)

I’ll try to fix it soon.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [July 26, 2019, 4:59pm UTC](https://forum.modmore.com/t/csrfhelper-login-service-logout-not-working/1872/3 "2019-07-26T16:59:29Z")

</div>

Fixed in 1.0.0-pl, available from both MODX and modmore repositories.
