diff --git a/src/components/user/Config.vue b/src/components/user/Config.vue index 022b7d9..eb34dfe 100644 --- a/src/components/user/Config.vue +++ b/src/components/user/Config.vue @@ -56,6 +56,7 @@ - Save + Save {{ error }} @@ -170,6 +171,7 @@ export default { firstname: null, lastname: null, password: null, + controlPassword: null, equal_password: value => this.password === value || 'Passwörter sind nicht identisch.', email: value => { @@ -198,6 +200,8 @@ export default { if (this.password) user.password = this.password } this.saveConfig({ oldUsername: user.username, ...user }) + this.password = null + this.controlPassword = null } }, computed: { diff --git a/src/plugins/routes.js b/src/plugins/routes.js index a6d0023..06f86a8 100644 --- a/src/plugins/routes.js +++ b/src/plugins/routes.js @@ -1,7 +1,7 @@ //const main = 'https://192.168.5.128:5000/' -//const main = 'http://localhost:5000/' +const main = 'http://localhost:5000/' //const main = 'http://192.168.5.118:5000/' -const main = 'https://groeger-clan.duckdns.org:5000/' +//const main = 'https://groeger-clan.duckdns.org:5000/' const url = { login: main + 'login',