1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-01-09 23:10:03 +01:00

Set default values for user preferences

This commit is contained in:
Giulio Cesare Solaroli 2015-09-23 13:40:58 +02:00
parent 7bc16cc649
commit cf3c243af2

View File

@ -75,7 +75,21 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.User.Header.Preferences, Clipperz.PM.
Clipperz.PM.DataModel.User.Header.Preferences.defaultPreferences = {
'lock': {
'timeoutInMinutes': 10
'enabled': false,
'timeoutInMinutes': 10,
},
'shouldShowDonationPanel': true
'passwordGenerator': {
'length': 24,
'characters': {
'A-Z': true,
'a-z': true,
'0-9': true,
'space': false,
'!#?': true,
},
},
// legacy preferences
'preferredLanguage': 'en',
'shouldShowDonationPanel': true,
};