lib/DMAO/WardenJWT.rb in DMAO-WardenJWT-0.1.0 vs lib/DMAO/WardenJWT.rb in DMAO-WardenJWT-0.2.0
- old
+ new
@@ -1,7 +1,5 @@
require "DMAO/WardenJWT/version"
-module DMAO
- module WardenJWT
- # Your code goes here...
- end
-end
+require 'DMAO/WardenJWT/strategy'
+
+Warden::Strategies.add(:dmao_jwt, DMAO::WardenJWT::Strategy)
\ No newline at end of file