mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Added deprecation warning for authentication of the calendar module.
Discussed in Review
9848f80630 (r105531731)
This commit is contained in:
parent
bf24ee369f
commit
06af327e5e
@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Add `clientonly` script to start only the electron client for a remote server.
|
- Add `clientonly` script to start only the electron client for a remote server.
|
||||||
- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `default/calendar` module.
|
- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `default/calendar` module.
|
||||||
- Add `.vscode/` folder to `.gitignore` to keep custom Visual Studio Code config out of git
|
- Add `.vscode/` folder to `.gitignore` to keep custom Visual Studio Code config out of git
|
||||||
|
- Add warning Log when is used old authentication method in the calendar module.
|
||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
- Changed 'default.js' - listen on all attached interfaces by default
|
- Changed 'default.js' - listen on all attached interfaces by default
|
||||||
|
@ -102,7 +102,9 @@ Module.register("calendar", {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// we check user and password here for backwards compatibility with old configs
|
// we check user and password here for backwards compatibility with old configs
|
||||||
if(calendar.user && calendar.pass){
|
if(calendar.user && calendar.pass) {
|
||||||
|
Log.warn("Deprecation warning: Please update your calendar authentication configuration.");
|
||||||
|
Log.warn("https://github.com/MichMich/MagicMirror/tree/v2.1.2/modules/default/calendar#calendar-authentication-options");
|
||||||
calendar.auth = {
|
calendar.auth = {
|
||||||
user: calendar.user,
|
user: calendar.user,
|
||||||
pass: calendar.pass
|
pass: calendar.pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user