Open ChicagoDuan opened 7 months ago
I agree. I tried to fix the server side of this problem a few years ago via https://gerrit.openbmc.org/c/openbmc/bmcweb/+/27503, but the patch is abandoned because I ran out of time to work on it.
When I look at this patch, the remaining problems are:
Error updating user 'admin' because the password was not accepted.
The patch linked above is very close to doing this (providing properties so the WebUI can do this). Maybe it can send the specific reasons (currently available as English-only strings) as additional data.You are welcome to pick up this patch and work on it.
@ChicagoDuan , would you be willing to pick this patch up, modify appropriately to address some of Joseph's concerns and then push it upstream? Once the backend work is upstreamed, I can get the BMC GUI team to make a corresponding change.
@ChicagoDuan , would you be willing to pick this patch up, modify appropriately to address some of Joseph's concerns and then push it upstream? Once the backend work is upstreamed, I can get the BMC GUI team to make a corresponding change.
Sure!@lxwinspur George will pick this patch up.
Hi @mzipse , We found that this issue is not related to the patch submitted by @joseph-reynolds , but is caused by a string matching error in the webui. The following commit has fixed this issue: https://github.com/ibm-openbmc/webui-vue/commit/9f3ae79bd59d0a4c5867ceef744d171edefd352e
This fix is merged into the next 1020, 1030, 1050 service packs, and 1060.
When the password complexity requirements are not met, the error message displays 'Error updating user 'admin' because the password was not accepted.' In this case, the prompt should indicate that the password does not meet the complexity requirements or specify which complexity requirement is not satisfied. The suggested English translation is: 'Error updating user 'admin' because the password complexity requirements are not met.