Class: OmniAuth::Strategies::CrewCheck
- Inherits:
-
GitHub
- Object
- GitHub
- OmniAuth::Strategies::CrewCheck
- Defined in:
- lib/omniauth/strategies/crew_check.rb
Instance Method Summary collapse
Instance Method Details
#callback_phase ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/omniauth/strategies/crew_check.rb', line 18 def callback_phase if .role_required && roles.empty? fail!(:invalid_credentials) else super end end |