Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Find user via the configured user model class

  • Loading branch information...
commit 085a9b61dcf97ac8715edc0c16dc2705478832e0 1 parent a582eec
danhodge danhodge authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/clearance/session.rb
2  lib/clearance/session.rb
View
@@ -12,7 +12,7 @@ def signed_in?
def current_user
@current_user ||= with_remember_token do |token|
- ::User.find_by_remember_token(token)
+ Clearance.configuration.user_model.find_by_remember_token(token)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.