pondersource / nextcloud-mfa-awareness

Make Nextcloud aware of whether the current user is logged in with Multi-Factor Authentication
MIT License
0 stars 2 forks source link

Error in showing files for nextcloud #75

Closed mrvahedi68 closed 1 year ago

mrvahedi68 commented 1 year ago

I cloned branch mrv/mfa-check-rebased from pondersource/server to test mfazones app. When I want to see my files after login a white page appears with this error in the console: Uncaught TypeError: OCP.Files is undefined .

mrvahedi68 commented 1 year ago

I rebased with master branch from nextcloud/server and built js files again. But the Error has not changed.

mrvahedi68 commented 1 year ago

When I switched to branch mrv/mfa-check-final from nextcloud/server everything worked correctly.

mrvahedi68 commented 1 year ago

This error also exists in master branch of nextcloud/server

michielbdejong commented 1 year ago

I'm pretty sure nextcloud master branch doesn't have an error on the main page of the files app! Are you running into this with 'setup-gss.sh' or with 'setup-saml.sh'? What are the steps-to-reproduce for this issue?

mrvahedi68 commented 1 year ago

I ran setup-saml.sh and the server folder was mounted to sunet-nc2 container. I changed the branch and tried to see the Files page and was faced with the reported error. But when changed branch to mrv/mfa-check-final from pondersource/server the page was shown correctly.

michielbdejong commented 1 year ago

Can't reproduce this with latest readme instructions, will reopen if this issue resurfaces