mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-28 16:05:01 +08:00
14 lines
346 B
JavaScript
14 lines
346 B
JavaScript
import ko from 'ko';
|
|
|
|
export const AppAdminStore = {
|
|
weakPassword: ko.observable(false),
|
|
dataFolderAccess: ko.observable(false),
|
|
|
|
populate: function() {
|
|
this.weakPassword(!!rl.settings.get('WeakPassword'));
|
|
/*
|
|
rl.settings.get('WeakPassword')
|
|
&& fetch('./data/VERSION?' + Math.random()).then(() => this.dataFolderAccess(true));
|
|
*/
|
|
}
|
|
};
|