Skip to content

Commit e5b84df

Browse files
authored
Merge pull request #13 from zirkeldesign/fix-auth-create-path
fix: Don't fallback to root path, if path is omitted.
2 parents c8720d0 + f764529 commit e5b84df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Commands/Site/AuthUser/CreateAuthUserCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function handle(): void
5858
$data = $this->ploi->createAuthUser($serverId, $siteId, [
5959
'name' => $name,
6060
'password' => $password,
61-
'path' => $path ?: '/',
61+
'path' => $path,
6262
]);
6363

6464
if ($data) {

0 commit comments

Comments
 (0)