Skip to content

Commit

Permalink
Fix type for public ssh key can be just alphanohtml
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 27, 2024
1 parent b8b477c commit 603fea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/setup_deploy_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
$reg = array();

if (! $error) {
$valueforkey = GETPOST("SELLYOURSAAS_PUBLIC_KEY", 'none');
$valueforkey = GETPOST("SELLYOURSAAS_PUBLIC_KEY", 'alphanohtml');
if (preg_match('/pub$/m', $valueforkey)) {
setEventMessages($langs->trans("ErrorFieldForSSHKeyMustContainsTheKeyStringNotTheNameOfFile"), null, 'errors');
$error++;
Expand Down

0 comments on commit 603fea4

Please sign in to comment.