We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f7a04b + 7195798 commit edcf069Copy full SHA for edcf069
plugin.rb
@@ -73,7 +73,7 @@ def fail_auth(reason)
73
end
74
def load_user_descriptions
75
file_path = "#{File.expand_path(File.dirname(__FILE__))}/ldap_users.yml"
76
- return nil unless File.exists?(file_path)
+ return nil unless File.exist?(file_path)
77
return YAML.load_file(file_path)
78
79
0 commit comments