Skip to content

Commit

Permalink
admin -> truenas_admin
Browse files Browse the repository at this point in the history
  • Loading branch information
themylogin committed Jul 18, 2024
1 parent 8bfb34c commit ef7ac8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions truenas_installer/installer_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def _install_upgrade_internal(self):
authentication_method = await dialog_menu(
"Web UI Authentication Method",
{
"Administrative user (admin)": self._authentication_admin,
"Administrative user (truenas_admin)": self._authentication_truenas_admin,
"Configure using Web UI": self._authentication_webui,
}
)
Expand Down Expand Up @@ -125,10 +125,10 @@ async def _install_upgrade_internal(self):
)
return True

async def _authentication_admin(self):
async def _authentication_truenas_admin(self):
return await self._authentication_password(
"admin",
"Enter your \"admin\" user password. Root password login will be disabled.",
"truenas_admin",
"Enter your \"truenas_admin\" user password. Root password login will be disabled.",
)

async def _authentication_password(self, username, title):
Expand Down
2 changes: 1 addition & 1 deletion truenas_installer/server/api/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"properties": {
"username": {
"type": "string",
"enum": ["admin", "root"],
"enum": ["truenas_admin", "root"],
},
"password": {
"type": "string",
Expand Down

0 comments on commit ef7ac8d

Please sign in to comment.