Roundcube Community Forum

Release Support => Pending Issues => Topic started by: rking on September 10, 2014, 11:10:34 AM

Title: reset configuration to all users
Post by: rking on September 10, 2014, 11:10:34 AM
the problem is that users that already logged in has old configuration
i change the default configuration but users that logged in before already have the old
i want to reset the configuration to all of them so that when they will log in next time it will be like user that logged in for the first time with the current configuration
how can i do this?

i hope you understand what i meant
thank for the help
Title: Re: reset configuration to all users
Post by: SKaero on September 10, 2014, 12:59:17 PM
You can clear out the users table in the database but it will remove all the users settings.
Title: Re: reset configuration to all users
Post by: ABerglund on September 10, 2014, 02:56:57 PM
If you are comfortable with mysql at the commandline, you could create a new user, see what the new default preferences string is and do a replace for all users' preferences. That would do what you need without deleting all the users and losing their contact lists. But it would replace ALL their settings, not just the ones where the default has been changed.