felixrupp / user_cas

This app provides CAS authentication support for ownCloud and Nextcloud, using the phpCAS library of jasig/apereo.
Other
21 stars 24 forks source link

user_cas UI (CAS Login) disappears when theming is applied #60

Closed biocoder closed 5 years ago

biocoder commented 5 years ago

Describe the bug user_cas works as expected on fresh install but the login UI/UX disappears after theming. I tried the patch that is mentioned here (https://github.com/felixrupp/user_cas/issues/38) and changed line 88 on lib/User/Backend.php as mentioned but it does not fix anything.

To Reproduce Steps to reproduce the behavior: Downloading and enabling user_cas works fine on default Nextcloud 16 install, but the UI "CAS Login" below the default login disappears after theming the Nextcloud install. Removing and reinstalling does not fix the issue, so I checked "Force CAS login" for now. I do not see any error in the log file. I cannot troubleshoot. Any ideas what might have happened?

Software (please complete the following information):

felixrupp commented 5 years ago

Hi @biocoder

lib/User/Backend.php is not used by Nextcloud, it’s for ownCloud only. For Nextcloud there is the Backend lib/User/NextBackend.php where the declaration is already patched as described in #38. I am currently testing the bug. Please stand by!

Regards, Felix

felixrupp commented 5 years ago

Hi @biocoder

I fixed the bug, it will be included in Release 1.7.2, coming the next days.

Regards, Felix

biocoder commented 5 years ago

Awesome! You rock. I will test it out once released.