mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
docker install on almalinux
This commit is contained in:
@@ -6840,7 +6840,7 @@ StrictHostKeyChecking no
|
||||
pattern = r"^[a-z0-9][a-z0-9]*$"
|
||||
|
||||
if re.match(pattern, sitename):
|
||||
return True
|
||||
pass
|
||||
else:
|
||||
final_dic = {'status': 0, 'error_message': f'invalid site name "{sitename}": must consist only of lowercase alphanumeric characters, as well as start with a letter or number.'}
|
||||
final_json = json.dumps(final_dic)
|
||||
|
||||
Reference in New Issue
Block a user