license cloud done

This commit is contained in:
Yan
2017-11-16 20:46:03 +06:30
parent 178b3484be
commit 29322d952e
5 changed files with 64 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ class InstallController < BaseController
# Export for Key
aes = MyAesCrypt.new
aes_key, aes_iv = aes.export_key(lookup)
aes_key, aes_iv = aes.export_key(license_key)
@license = License.new(ENV["SX_PROVISION_URL"])
response = @license.license_activate(aes_key, aes_iv, license_key, db_host, db_schema, db_user, db_password)