Skip to content

Fix setting user password; etag refresh needed.

adietmue requested to merge user_password_fix into master

Hi!

I just tried to (unsuccessfully) set a custom password for my account on the AMIV website.

Unfortunately it fails, as the user etag changes when a new session is created, and thus the password update fails with a 412: Precondition failed.

I can confirm that manually setting the password via custom API requests works. The issue is only on the website.

I tried to update the flow to fetch an updated etag. I haven't tested it though, as I only made the change in the browser. Definitely some testing needed before the merge.

Cheers!

Alex

Edited by adietmue

Merge request reports

Loading