southbridgeio / redmine_2fa

Two-factor (sms/telegram) authentication for Redmine
https://southbridge.io
MIT License
42 stars 17 forks source link

Syntax error #19

Closed imaia closed 7 years ago

imaia commented 7 years ago

SyntaxError: /usr/src/redmine/plugins/redmine_2fa-master/lib/redmine_2fa/code_sender.rb:19: syntax error, unexpected '.' case user&.auth_source&.auth_method_name

arturtr commented 7 years ago

Upgrade your ruby to 2.3

imaia commented 7 years ago

Thanks, @arturtr Latest redmine docker image still uses ruby 2.2. I sent them a PR to version bump it. Let's see how it goes.