mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-01 12:03:55 +01:00
Fixed admin not being able to reset a user password using a random one
This commit is contained in:
@@ -291,7 +291,7 @@ async function save() {
|
||||
} else {
|
||||
delete data.mailbox.full_address
|
||||
}
|
||||
if (data.random_password || !data.password) {
|
||||
if (!data.password) {
|
||||
delete data.password
|
||||
delete data.password_confirmation
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user