# Removing extra buttons from "Login required" screen

**URL:** <https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167>\
**Category:** UX\
**Created:** [2015 年 10 月 5 日午後 11:25 UTC](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167 "2015-10-05T23:25:13Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2015 年 10 月 6 日午後 3:43 UTC](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167/6 "2015-10-06T15:43:26Z")

</div>

There might be a problem with this. It’s adding a `currentPath` property to the `Discourse` object. It might not be a good idea to do that in a customization. I’ll look at another way to do it later today.

---

_[View the full topic](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167)._
