lib/auth_lh/api.rb in auth-lh-0.29.0 vs lib/auth_lh/api.rb in auth-lh-0.30.0
- old
+ new
@@ -71,12 +71,12 @@
end
end
def self.change_password_url(return_url=nil)
if return_url.present?
- "#{@endpoint}/change_password?return_url=#{CGI::escape(return_url)}"
+ "#{@endpoint}/current_user/password/edit?return_url=#{CGI::escape(return_url)}"
else
- "#{@endpoint}/change_password"
+ "#{@endpoint}/current_user/password/edit"
end
end
def self.my_apps_url
"#{@endpoint}"