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

Add require_always_email for all carddav #429

Closed
pboesch opened this issue Feb 26, 2023 · 3 comments
Closed

Add require_always_email for all carddav #429

pboesch opened this issue Feb 26, 2023 · 3 comments

Comments

@pboesch
Copy link

pboesch commented Feb 26, 2023

Hello!

I have recently adding carddav plugin on rouncdube 1.6. I have added, throught web interface, a nextcloud carddav url. I don't have create config.inc.php. All contacts have been synchronize. I'm looking for to hide contacts without email.

So I've tried to create and add in config.inc.php :

 $prefs['_GLOBAL']['require_always_email'] = true;

Or:

$prefs['nextcloud'] = [
    'accountname'  =>  'Contacts',
    'require_always_email' => true,
];

Clear cache and re-sync. But all contacts appears again.

Is the only solution is to create the entire carddav configuration in config.inc.php? If so, how to avoid the password to appear in it?

Thank you

@mstilkerich
Copy link
Owner

Hello, this option is currently only available for admin presets. It cannot be set as a global option. I can add it as a option to the UI so that it can also be set for user-defined addressbooks.

@pboesch
Copy link
Author

pboesch commented Feb 26, 2023

Ok thanks for explanation. I don't know for others,but I think it would be nice if this option was available on the UI.

@mstilkerich
Copy link
Owner

Feature is available on master branch

mstilkerich added a commit that referenced this issue Aug 19, 2023
…t not be a hardcoded fixed field anymore as it could now be changeable from UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants