# Regression in login behavior

**URL:** https://meta.discourse.org/t/regression-in-login-behavior/81612
**Category:** Bug
**Created:** [2월 26, 2018, 11:18오후 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612 "2018-02-26T23:18:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![vikaskedia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikaskedia/32/73333_2.png) [@vikaskedia](https://meta.discourse.org/u/vikaskedia)
#### Post date: [2월 26, 2018, 11:18오후 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/1 "2018-02-26T23:18:48Z")

</div>

I just upgraded to the latest today.

I run the system from `http://www.example.com/discourse/`

The system is set to only allow logged in users.

When users go to `http://www.example.com/discourse/` they are being redirected to `http://www.example.com/login/`

In v1.9 they were being redirected to `http://www.example.com/discourse/login/`

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 27, 2018, 7:09오전 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/2 "2018-02-27T07:09:58Z")

</div>

@Falco are there open issues with requires logic in a subfolder ?

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [2월 27, 2018, 10:25오전 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/3 "2018-02-27T10:25:36Z")

</div>

> [@vikaskedia](#):
>
> I run the system from [http://www.domain.com/discourse/](http://www.domain.com/discourse/)

Can you please use `example.com` when giving examples? (See [RFC2606](https://tools.ietf.org/search/rfc2606#section-3)). Also, you can prevent links with backquotes: `http://some.example.net/without/actual/link`. Thanks!

---

<div class="post-metadata">

### Author: ![vikaskedia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vikaskedia/32/73333_2.png) [@vikaskedia](https://meta.discourse.org/u/vikaskedia)
#### Post date: [3월 7, 2018, 8:50오전 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/4 "2018-03-07T08:50:55Z")

</div>

@Falco any news on this .. can i help ?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [3월 7, 2018, 5:46오후 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/5 "2018-03-07T17:46:20Z")

</div>

Fix is in this PR:

[https://github.com/discourse/discourse/pull/5657/files](https://github.com/discourse/discourse/pull/5657/files)

Will wait for @tgxworld review, since he mentions a recent fix in this code.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [6월 26, 2018, 7:39오전 UTC](https://meta.discourse.org/t/regression-in-login-behavior/81612/6 "2018-06-26T07:39:04Z")

</div>


