Browse Source

Merge pull request #442 from nextcloud/fix-removing-password

Allow to remove the password
pull/445/head
Ivan Sein 8 years ago
committed by GitHub
parent
commit
e89d044810
  1. 2
      lib/Room.php

2
lib/Room.php

@ -257,7 +257,7 @@ class Room {
return false;
}
$hash = $this->hasher->hash($password);
$hash = $password !== '' ? $this->hasher->hash($password) : '';
$this->dispatcher->dispatch(self::class . '::preSetPassword', new GenericEvent($this, [
'password' => $password,

Loading…
Cancel
Save