try fix error

rake aborted!
NoMethodError: undefined method `[]' for nil:NilClass
/home/travis/build/MiCHiLU/timecard-rails/config/initializers/devise.rb:242:in `block in <top (required)>'