-
Notifications
You must be signed in to change notification settings - Fork 156
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
user session of a blocked user is not cleared properly #4795
Comments
@kiranparajuli589 with #7072 being merged a disabled user will see the login error page on page reload, when clicking on |
@kulmann yes it would be enough to close this ticket. |
Perfect, thank you! :-) |
Description
Owncloud has a feature that if a logged-in user is blocked, its user session should be cleared properly. It works perfectly fine also and is well demonstrated as an acceptance test here.
But strangely, the behaviors is not the same when the server and client are running on the different host i.e.
To reproduce this error I'd made a setup like:
http://127.0.0.1/owncloud
http://127.1.1.1:8080
oauth2
apphttp://127.1.1.1:8080
in coreconfig.php
Steps to reproduce
test
usertest
user (we'll land onto the files page)test
user:Expected behavior
User disabled message should be shown.
Actual behavior
The user is redirected to the login screen.
with URL
Server configuration
Operating system:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Web server:
cd .../web yarn build SERVER=127.1.1.1 PORT=8080 yarn serve
Database:
Sqlite
PHP version:
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
Where did you install ownCloud from:
wget -qO- https://download.owncloud.org/community/daily/owncloud-daily-master-qa.tar.bz2 | tar -xj -C /home/xxxxx/www/owncloud/ --strip 1
Signing status (ownCloud 9.0 and above):
https://gist.github.com/kiranparajuli589/40733cc78e421d8360a255714a160dc1
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser:
Operating system:
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: