# How to disable auto login after register?

**URL:** <https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565>\
**Category:** Site Operations Help\
**Tags:** how-to\
**Created:** [August 11, 2021, 3:09pm UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565 "2021-08-11T15:09:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 11, 2021, 3:09pm UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/1 "2021-08-11T15:09:41Z")

</div>

Hi everyone,  
Anyone know how to disable auto login after user register ?  
Can we add Feature setting or have setting on admin for this ?

---

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 12, 2021, 1:26pm UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/2 "2021-08-12T13:26:52Z")

</div>

Anyone can help me ?

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [August 12, 2021, 2:08pm UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/3 "2021-08-12T14:08:53Z")

</div>

Hi,  
I have the same issue I’m working on sending an activation email after registration with disable auto-login after registration.

try to do these steps  
1- update configuration to “false” at lms.env

```auto
    "FEATURES": {
        "SKIP_EMAIL_VALIDATION": false,
        "BYPASS_ACTIVATION_EMAIL_FOR_EXTAUTH": false,

}

```

2- run reset LMS command

---

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 13, 2021, 2:30am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/4 "2021-08-13T02:30:13Z")

</div>

Hi @muneera_salah ,  
I have config as you suggest, but account still auto login.  
There is my config Feature, can you see if have anything should change ?

“FEATURES”: {  
“ENABLE\_CHANGE\_USER\_PASSWORD\_ADMIN”: true,  
“ALLOW\_PUBLIC\_ACCOUNT\_CREATION”: false,  
“CERTIFICATES\_HTML\_VIEW”: true,  
“PREVIEW\_LMS\_BASE”: “preview.lms.cunghoc.edu.vn”,  
“ENABLE\_CORS\_HEADERS”: true,  
“ENABLE\_COURSE\_DISCOVERY”: true,  
“ENABLE\_COURSEWARE\_SEARCH”: true,  
“ENABLE\_CSMH\_EXTENDED”: false,  
“ENABLE\_DASHBOARD\_SEARCH”: true,  
“ENABLE\_COMBINED\_LOGIN\_REGISTRATION”: true,  
“ENABLE\_GRADE\_DOWNLOADS”: true,  
“ENABLE\_LEARNER\_RECORDS”: false,  
“ENABLE\_MOBILE\_REST\_API”: true,  
“ENABLE\_OAUTH2\_PROVIDER”: true,  
“ENABLE\_THIRD\_PARTY\_AUTH”: true,  
“SKIP\_EMAIL\_VALIDATION”: false,  
“BYPASS\_ACTIVATION\_EMAIL\_FOR\_EXTAUTH”: false  
},

---

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 13, 2021, 5:07am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/5 "2021-08-13T05:07:52Z")

</div>

Hi @muneera_salah ,  
I was add this setting but still auto login after register.  
Can you share all feature setting so i can see if have anything missing ?

---

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 14, 2021, 2:45am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/6 "2021-08-14T02:45:26Z")

</div>

hi @muneera_salah , can you look at my feature setting? is it ok? Because my site still auto login after register.

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [August 15, 2021, 8:08am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/7 "2021-08-15T08:08:42Z")

</div>

Hi @sonpham  
me too still auto login after registration and I received an activation email.  
I am trying to find the solution by update the core code which is not the perfect way.

---

<div class="post-metadata">

**Author:** ![sonpham](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sonpham](https://discuss.openedx.org/u/sonpham)\
**Post date:** [August 18, 2021, 6:49am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/8 "2021-08-18T06:49:58Z")

</div>

yup, have no any document for this. I see Open edX have few hard to use.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [November 16, 2021, 6:50am UTC](https://discuss.openedx.org/t/how-to-disable-auto-login-after-register/5565/9 "2021-11-16T06:50:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
