bushido 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Bushido
|
|
2
2
|
class EnvsController < ApplicationController
|
3
3
|
# PUT /bushido/envs/:id
|
4
4
|
def update
|
5
|
-
if ENV["
|
5
|
+
if ENV["BUSHIDO_APP_KEY"] != params[:key] or params[:id] == "BUSHIDO_KEY"
|
6
6
|
respond_to do |format|
|
7
7
|
format.html { render :layout => false, :text => true, :status => :forbidden }
|
8
8
|
format.json { render :status => :unprocessable_entity }
|
data/lib/bushido/version.rb
CHANGED