Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file is specifically for you to define your strategies
- #
- # You should declare you strategies directly and/or use
- # Merb::Authentication.activate!(:label_of_strategy)
- #
- # To load and set the order of strategy processing
- Merb::Slices::config[:"merb-auth-slice-password"][:no_default_strategies] = true
- Merb::Authentication.activate!(:default_password_form)
- module Merb::Authentication::Strategies
- class Basic::Form < Basic::Base
- def strategy_error_message
- "Brukernavn og/eller password var feil"
- end
- end
- end
Add Comment
Please, Sign In to add comment