This commit is contained in:
benji 2015-10-07 15:10:14 +02:00
parent 328f806d39
commit 0baa857458

View file

@ -5,7 +5,7 @@ class WelcomeController < ApplicationController
end
def token_sign_in
if user_signed_in? || params[:token] == Rails.application.secrets.koelkast_token
if user_signed_in? || params[:token] != Rails.application.secrets.koelkast_token
redirect_to root_path
return
else