Guest User

Untitled

a guest
Feb 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # This file is specifically for you to define your strategies
  2. #
  3. # You should declare you strategies directly and/or use
  4. # Merb::Authentication.activate!(:label_of_strategy)
  5. #
  6. # To load and set the order of strategy processing
  7.  
  8. Merb::Slices::config[:"merb-auth-slice-password"][:no_default_strategies] = true
  9.  
  10. Merb::Authentication.activate!(:default_password_form)
  11.  
  12. module Merb::Authentication::Strategies
  13. class Basic::Form < Basic::Base
  14. def strategy_error_message
  15. "Brukernavn og/eller password var feil"
  16. end
  17. end
  18. end
Add Comment
Please, Sign In to add comment