machine: fix typo in sudo access request
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
a8018afd46
commit
bb7cd27be5
|
@ -1618,7 +1618,7 @@ class InstallValidator:
|
||||||
return
|
return
|
||||||
self._sudo_requested = True
|
self._sudo_requested = True
|
||||||
auth: Optional[Authorization]
|
auth: Optional[Authorization]
|
||||||
auth = self.server.lookup_component("authorizaton", None)
|
auth = self.server.lookup_component("authorization", None)
|
||||||
if auth is not None:
|
if auth is not None:
|
||||||
# Bypass authentication requirements
|
# Bypass authentication requirements
|
||||||
auth.register_permited_path("/machine/sudo/password")
|
auth.register_permited_path("/machine/sudo/password")
|
||||||
|
|
Loading…
Reference in New Issue