Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow remember login when external storage is disabled globally #33355

Closed
wants to merge 1 commit into from

Conversation

okkez
Copy link

@okkez okkez commented Oct 30, 2018

#27051 and #15277 disable the feature "remember login". This means that \OC_Util::rememberLoginAllowed() returns false always. We can enable it when external storage is disabled globally.

@CLAassistant
Copy link

CLAassistant commented Oct 30, 2018

CLA assistant check
All committers have signed the CLA.

@okkez
Copy link
Author

okkez commented Oct 30, 2018

image

This PR can show "stay logged in" checkbox when external storage is disabled globally.

@PVince81
Copy link
Contributor

thanks, but stay logged in is currently broken: #26027

also there was a reason for disabling when external storage is enabled but can't remember right now

@PVince81
Copy link
Contributor

PVince81 commented Feb 7, 2019

the reason was because of "save in session" and "save in DB" mode, in which case we need the user to login with actual credentials to be able to save these for external storage access.

the remember me thing (if it wasn't broken as per #26027) might work because the user had to login at least once. however if external storages get configured by the admin, the admin would require those users to manually relogin with their password.

@okkez okkez closed this Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants