lib/auth_lh/authentication.rb in auth-lh-0.1.1 vs lib/auth_lh/authentication.rb in auth-lh-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
module AuthLh
module Authentication
def self.included(base)
- base.extend(ClassMethods)
+ base.extend(ClassMethods)
end
def auth_user
if @auth_user.nil?
@auth_user = self.class.find_external(login)
@@ -61,9 +61,13 @@
end
end
def logout_url
AuthLh.logout_url
+ end
+
+ def change_password_url
+ AuthLh.change_password_url
end
end
end
end