license verify

This commit is contained in:
Yan
2017-12-01 17:35:56 +06:30
parent a50b49d2ac
commit 4548813bfd
3 changed files with 29 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ class ApplicationController < ActionController::Base
def cache_license(url, lookup)
flag = ENV["AES_IV"]
@license = License.new(url, lookup)
puts flag
# Check Exists IV
if flag == "<%= ENV['AES_IV'] %>"
# Export for Key