Merge pull request #1550 from Computroniks/jsdoc-for-src

JSDoc for src/*/*
This commit is contained in:
Louis Lam 2022-06-15 19:29:51 +08:00 committed by GitHub
commit a3b94aa532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 543 additions and 31 deletions

View file

@ -303,6 +303,7 @@ export default {
},
methods: {
/** Check new passwords match before saving them */
savePassword() {
if (this.password.newPassword !== this.password.repeatNewPassword) {
this.invalidPassword = true;
@ -320,6 +321,7 @@ export default {
}
},
/** Disable authentication for web app access */
disableAuth() {
this.settings.disableAuth = true;
@ -332,6 +334,7 @@ export default {
}, this.password.currentPassword);
},
/** Enable authentication for web app access */
enableAuth() {
this.settings.disableAuth = false;
this.saveSettings();