Fixed admin not being able to reset a user password using a random one

This commit is contained in:
Spitfireap
2024-07-12 20:00:54 +02:00
parent 5fbc23eac4
commit 38b719ee34
@@ -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
}