resetPassword(credentials, token) {
        const encoded = this.$window.btoa(JSON.stringify(credentials));
        return this.http.post(`/${this.route}/password/${token}`, {credentials: encoded});
    }