Use the password/reset.html route instead of removed setup.html
This commit is contained in:
parent
497cc89a07
commit
996faaddfb
@ -248,7 +248,7 @@ Cloudron.prototype.addUser = function (username, email) {
|
||||
};
|
||||
|
||||
Cloudron.prototype.resetPassword = function (resetToken, password) {
|
||||
var res = request.get(this._origin + '/api/v1/session/password/setup.html').query({ reset_token: resetToken }).end();
|
||||
var res = request.get(this._origin + '/api/v1/session/password/reset.html').query({ reset_token: resetToken }).end();
|
||||
common.verifyResponse2xx(res, 'Could not get password setup site');
|
||||
var sessionCookies = res.headers['set-cookie']; // always an array
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user