rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
329 stars 189 forks source link

Uninitialized constant Casino::Authenticator #108

Closed rorystephenson closed 9 years ago

rorystephenson commented 9 years ago

Due to my own fiddling I've caused an exception to be raised during login which in turn causes another exception: Uninitialized constant Casino::Authenticator is thrown at https://github.com/rbCAS/CASino/blob/67ab509a4f6eb9f178da445e5d23475f2dbb4498/app/processors/casino/authentication_processor.rb#L9 when the original exception is handled.

I think you lost the require 'casino/authenticator' when you moved authentication.rb to authentication_processor.rb: https://github.com/rbCAS/CASino/compare/master@%7B1month%7D...master#diff-0bf020b1f393654949d24413fd4135c2L1 (scroll down to authentication.rb).

I didn't check too hard so not sure on that.

rorystephenson commented 9 years ago

I've created a PR with the added require (which fixes it for me) if that's how you want to fix it: https://github.com/rbCAS/CASino/pull/109.