Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCC command exits with 0 for the not existing user #91

Open
skshetry opened this issue Jan 22, 2019 · 1 comment
Open

OCC command exits with 0 for the not existing user #91

skshetry opened this issue Jan 22, 2019 · 1 comment
Labels

Comments

@skshetry
Copy link
Member

skshetry commented Jan 22, 2019

As per the title, if we invoke occ command:

./occ twofactor_totp:set-secret-verification-status -u not-existing-user false

then, the occ command exits with 0 code.

P.S. Also, the error are printed to standard output, should that not be to stderr?

@skshetry skshetry added the bug label Jan 22, 2019
@phil-davis
Copy link
Contributor

This might be very easy to fix. I did a similar thing last week in https://github.com/owncloud/ransomware_protection/pull/161 - so look there and maybe do similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants