From aaefa83d5c1c50958e4c2757eeb54e31969e5faf Mon Sep 17 00:00:00 2001 From: Norore Date: Sun, 10 Feb 2019 00:22:25 +0100 Subject: [PATCH] Change ENV variable names --- app/controllers/site_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index b5d8ecb..c5dbaea 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -3,7 +3,7 @@ class SiteController < ApplicationController end def auth - if params[:username] == ENV["username"] && params[:password] == ENV["password"] + if params[:username] == ENV['LOGIN_USERNAME'] && params[:password] == ENV['LOGIN_PASSWORD'] session[:authenticated] = true redirect_to session[:redirect_to] || diffs_path else