How to disable auto login after register?

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

1 Like

Anyone can help me ?

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

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

}

2- run reset LMS command

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
},

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 ?

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

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.

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