urgh
This commit is contained in:
parent
328f806d39
commit
0baa857458
|
@ -5,7 +5,7 @@ class WelcomeController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def token_sign_in
|
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
|
redirect_to root_path
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue