urgh
This commit is contained in:
parent
328f806d39
commit
0baa857458
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue