Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error message when "restore first password" does not work #203

Open
lemertens opened this issue Dec 9, 2021 · 1 comment
Open

No error message when "restore first password" does not work #203

lemertens opened this issue Dec 9, 2021 · 1 comment
Assignees

Comments

@lemertens
Copy link

When user-accounts where migrated from 6.2 including there passwords, the stored "first passwords" (Erstpasswort) might not meet the password requirements (as password validity check is deactivated during migration). When in this case a teachers tries to reset a password to the "first password" the password remains unchangend but the webui states "password changed"

@kiarn
Copy link
Member

kiarn commented Dec 9, 2021

Hello,

Thanks for the description, I can confirm it. Webui catchs the error from the sophomorix output, and in this situation, we don't get any error :

   0000052D: Constraint violation - check_password_restrictions: the password does not meet the complexity criteria!

Logging user update
#### Updating User 1/1: frayka (end)                                          ####

#### /usr/sbin/sophomorix-passwd terminated regularly                         ####
# JSON-begin
{
   "SCRIPTNAME" : "sophomorix-passwd",
   "OUTPUT" : [
      {
         "TYPE" : "LOG",
         "LOG" : "/usr/sbin/sophomorix-passwd terminated regularly"
      }
   ],
   "JSONINFO" : "RESULT",
   "JSONCOMMENT" : "---"
}

# JSON-end

So I have to open an issue in the sophomorix repository.

Arnaud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants