]> source.dussan.org Git - nextcloud-server.git/commit
Add password input from env variable for occ user:{add, resetpassword}
authorLaurens Post <lkpost@scept.re>
Sat, 4 Apr 2015 11:24:57 +0000 (13:24 +0200)
committerLaurens Post <lkpost@scept.re>
Sat, 4 Apr 2015 11:24:57 +0000 (13:24 +0200)
commitd9323ca1be35ffe0a115278de29106fe37d35c63
treeb9a78fd2e93084c1a083ad18eb56e198853e70c8
parent691c353eeda077be0fcca1e3839265815a650a90
Add password input from env variable for occ user:{add, resetpassword}

This commit adds the --password-from-env switch to the `occ user:add` and
`occ user:resetpassword` commands. When this parameter is given, Owncloud
will use the password specified in environment variable OC_PASS. This
is safer than using command line parameters, as those can be read by any
process.
core/command/user/add.php
core/command/user/resetpassword.php