You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/Command/User/AuthTokens/Add.php
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,12 @@ protected function configure() {
48
48
InputOption::VALUE_NONE,
49
49
'Read password from environment variable NC_PASS/OC_PASS. Alternatively it will be asked for interactively or an app password without the login password will be created.'
50
50
)
51
+
->addOption(
52
+
'name',
53
+
null,
54
+
InputOption::VALUE_REQUIRED,
55
+
'Name for the app password, defaults to "cli".'
56
+
)
51
57
;
52
58
}
53
59
@@ -81,13 +87,15 @@ protected function execute(InputInterface $input, OutputInterface $output): int
81
87
$output->writeln('<info>No password provided. The generated app password will therefore have limited capabilities. Any operation that requires the login password will fail.</info>');
0 commit comments