File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
themes/pterodactyl/layouts Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ public function getConfigurationAsJson($pretty = false)
132132 'listen ' => $ this ->daemonListen ,
133133 'ssl ' => [
134134 'enabled ' => $ this ->scheme === 'https ' ,
135- 'certificate ' => '/etc/letsencrypt/live/localhost /fullchain.pem ' ,
136- 'key ' => '/etc/letsencrypt/live/localhost /privkey.pem ' ,
135+ 'certificate ' => '/etc/letsencrypt/live/ ' . $ this -> fqdn . ' /fullchain.pem ' ,
136+ 'key ' => '/etc/letsencrypt/live/ ' . $ this -> fqdn . ' /privkey.pem ' ,
137137 ],
138138 ],
139139 'docker ' => [
Original file line number Diff line number Diff line change 5858 <ul class =" nav navbar-nav" >
5959 <li class =" dropdown user-menu" >
6060 <a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" >
61- <img src =" https://www.gravatar.com/avatar/{{ md5 (Auth:: user ()-> email ) } } ?s=160" class =" user-image" alt =" User Image" >
61+ <img src =" https://www.gravatar.com/avatar/{{ md5 (strtolower ( Auth:: user ()-> email ) ) } } ?s=160" class =" user-image" alt =" User Image" >
6262 <span class =" hidden-xs" >{{ Auth:: user ()-> name_first } } {{ Auth:: user ()-> name_last } } </span > <span class =" caret" ></span >
6363 </a >
6464 <ul class =" dropdown-menu" role =" menu" >
65- <li ><a href =" {{ route (' admin.index' ) } }" >@lang (' strings.admin_control' )</a ></li >
65+ @if (Auth:: user ()-> isRootAdmin () )
66+ <li ><a href =" {{ route (' admin.index' ) } }" >@lang (' strings.admin_control' )</a ></li >
67+ @endif
6668 <li ><a href =" {{ route (' auth.logout' ) } }" >@lang (' strings.sign_out' )</a ></li >
6769 </ul >
6870 {{-- <ul class="dropdown-menu">
Original file line number Diff line number Diff line change 505505 type: ' success' ,
506506 title: ' Token created.' ,
507507 text: ' Your token will expire at ' + data .expires_at + ' <br /><br />' +
508- ' <p>To auto-configure your node run<br /><small><pre>npm run configure -- --panel-url ' + window . location . protocol + ' // {{ config (' app.url' ) } } --token ' + data .token + ' </pre></small></p>' ,
508+ ' <p>To auto-configure your node run<br /><small><pre>npm run configure -- --panel-url {{ config (' app.url' ) } } --token ' + data .token + ' </pre></small></p>' ,
509509 html: true
510510 })
511511 })
You can’t perform that action at this time.
0 commit comments