Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Auth uses config.yml for user/pass

  • Loading branch information...
commit c6a166ab109b6182b34f2078d03d9eeb31aaf574 1 parent 70810bd
Nathan Manzi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/sessions_controller.rb
2  app/controllers/sessions_controller.rb
View
@@ -23,7 +23,7 @@ def destroy
private
def authenticate(username, password)
- if username == "admin" && password == "admin"
+ if username == APP_CONFIG['username'] && password == APP_CONFIG['password']
return true
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.