machine: fix typo in sudo access request

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-11-06 11:43:52 -05:00
parent a8018afd46
commit bb7cd27be5
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

@ -1618,7 +1618,7 @@ class InstallValidator:
return
self._sudo_requested = True
auth: Optional[Authorization]
auth = self.server.lookup_component("authorizaton", None)
auth = self.server.lookup_component("authorization", None)
if auth is not None:
# Bypass authentication requirements
auth.register_permited_path("/machine/sudo/password")