# 로그아웃이 왜 이동했나요?

**URL:** https://meta.discourse.org/t/why-has-logout-moved/165477
**Category:** UX
**Created:** [9월 26, 2020, 8:39오후 UTC](https://meta.discourse.org/t/why-has-logout-moved/165477 "2020-09-26T20:39:38Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [9월 27, 2020, 6:23오전 UTC](https://meta.discourse.org/t/why-has-logout-moved/165477/4 "2020-09-27T06:23:48Z")

</div>

> [@rogerco](#):
>
> 더 좋은 방법은 로그아웃 버튼을 두 번 클릭하는 대신, 클릭 한 번으로 바로 로그아웃할 수 있도록 간단하게 만들어주는 것입니다.

> [@상단 메뉴에 로그아웃 버튼 추가](https://meta.discourse.org/t/add-logout-button-to-top-menu/143250/5?u=merefield):
>
> I got it! I won’t promise that it’ll work for you, but this might do it for you. This is common/header.html \<script type="text/discourse-plugin" version="0.8"\> const { iconNode } = require("discourse-common/lib/icon-library"); const { logout } = require("discourse/lib/logout"); api.decorateWidget("header-buttons:before", helper =\> { if (!Discourse.User.current()) return; currentUser = Discourse.User.current(); let container = api.container, lo…

---

_[View the full topic](https://meta.discourse.org/t/why-has-logout-moved/165477)._
