-
Notifications
You must be signed in to change notification settings - Fork 49
cas_force_login always treated as enabled #19
Comments
Hi, On differents OwnCloud installations with this app, I have severals problems with this feature : when it's enabled (and as @zeronounours say, it's always enable) files sharing with URL does not work because I'm always redirect on CAS login page. If I look how this feature was implemented and I mean it's not the right way because we try to determine when we have to force CAS login by making some checks to known if user is still login or if the call page need login. But in fact, we can't be sure that we check ALL cases. I mean the right way is to make a hook on display login page event. The problem is that this hook does not exists. What do you think of this reasoning? Do we need to work on a hook of this type by implementing it in OwnCloud Core ? |
I confirm this bug. |
👍 Thank you @zeronounours the patch works like a charm ! |
The
cas_force_login
option is always considered as being enabled.When configuration is saved, unchecked checkboxes set options to 0:
However, when
cas_forge_login
is retrieved, it is compared tofalse
:The condition may be modified to either:
or
The text was updated successfully, but these errors were encountered: