-
Enhancements
- added support for single sign-on.
-
BREAKING
- Balrog can no longer be initialized via
Rails.application.config.middleware.use Balrog::Middleware
. Instead, you need to configure Balrog withBalrog::Middleware.setup
. See the README for more info. - The instance method
Balrog::Middleware#password_hash
has been converted into a class methodBalrog::Middleware.set_password_hash
. See the README for more info. - The instance method
Balrog::Middleware#set_session_expiry
has been converted into a class methodBalrog::Middleware.set_session_expiry
. See the README for more info.
- Balrog can no longer be initialized via
- added
Balrog::Middleware#set_session_expiry
, which would force end users to login again after a certain period of time. - added
balrog:view
generator, enabling users to modify their Balrog gate view.
- added
Balrog::RoutesMiddleware
module, which can be used to protect mounted Rack applications. - dropped support for Rails < 5.
- added
balrog_logout_button
view helper method.
- initial release.