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

Fix error "check_if_login_required has not been defined" when click on button Google #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martygraphy
Copy link

Hello on version 4.1 & 4.2 of redmine, when clicking on the google connection button, I get this error:
FATAL -- : ArgumentError (Before process_action callback :check_if_login_required has not been defined):

The ruby documentation says :

Application classes and modules are available everywhere, you do not need and should not load anything under app with require. This feature is called autoloading, and you can learn more about it in Autoloading and Reloading Constants.

or the file redmine_oauth_controller.rb file does a require on the account_controller file

The removal of the require function allows the plugin to work properly again

Thanks in advance

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.

1 participant