mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02: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