diff --git a/tracks/app/models/user.rb b/tracks/app/models/user.rb index cb73416c..7a3ab1f5 100644 --- a/tracks/app/models/user.rb +++ b/tracks/app/models/user.rb @@ -97,7 +97,7 @@ class User < ActiveRecord::Base def validate unless Tracks::Config.auth_schemes.include?(auth_type) - errors.add("auth_type", "not a valid authentication type") + errors.add("auth_type", "not a valid authentication type (#{auth_type})") end end