Class: Warden::Delegated::Strategy
- Inherits:
-
Strategies::Base
- Object
- Strategies::Base
- Warden::Delegated::Strategy
- Defined in:
- lib/warden/delegated/strategy.rb
Instance Method Summary collapse
Instance Method Details
#authenticate! ⇒ Object
5 6 7 8 9 |
# File 'lib/warden/delegated/strategy.rb', line 5 def authenticate! if !env['warden'].authenticated? fail!("Not logged in") and return end end |