[%
USE Whostmgr;
USE JSON;
WRAPPER 'master_templates/master.tmpl'
header = locale.maketext('Grant Support Access - Login')
breadcrumburl = '/scripts7/authorizesupport'
stylesheets = [
Whostmgr.find_file_url('/templates/support/authorizesupport.min.css')
]
scripts = [
Whostmgr.find_file_url('/libraries/jquery/current/jquery.min.js'),
Whostmgr.find_file_url('/libraries/angularjs/1.4.4/angular.min.js'),
Whostmgr.find_file_url('/libraries/angular-ui-bootstrap/optimized/ui-bootstrap-tpls-1.2.5.min.js'),
Whostmgr.find_file_url('/sharedjs/angular/oauth2.min.js')
]
theme='bootstrap'
app_key='grant_cpanel_support_access';
-%]
[% IF data.error.defined %]
[% locale.maketext('Error:') %] [% data.error %]
[% END %]
[% UNLESS data.security_token_error.defined %]
[% locale.maketext('To grant [asis,cPanel] support access to your server, you [output,strong,must] connect your server to the [asis,cPanel] Customer Portal and transfer the necessary authentication details.') %]
[% locale.maketext('Click [output,em,Log in to cPanel Customer Portal] to establish a secure connection between your server and the [asis,cPanel] Customer Portal.') %]
[% locale.maketext('[output,strong,Warning:] If you suspect your server is root compromised, do not use this functionality. Contact [asis,cPanel] support directly by using the [output,url,_1,cPanel Customer Portal,target,_2].',data.new_ticket_url.html,'_new') %]
[% locale.maketext('[output,strong,Info:] If you need to remove [asis,cPanel] support’s access to your system, and you do not have a [asis,cPanel] Customer Portal account, use WHM’s [output,url,_1,Manage root’s SSH Keys] interface.', cp_security_token _ '/scripts2/sshkeys') %]
[% END %]
[% END #wrapper -%]