We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72cfc98 commit 979a044Copy full SHA for 979a044
ChangeLog.md
@@ -3,6 +3,10 @@ CAS Server change log
3
4
## ?.?.? / ????-??-??
5
6
+## 0.10.1 / 2022-06-18
7
+
8
+* Fixed changing passwords with MongoDB persistence - @thekid
9
10
## 0.10.0 / 2022-06-17
11
12
* Merged PR #18: Use Redis for sessions in production - this way, the
src/main/php/de/thekid/cas/mongodb/UserCollection.php
@@ -62,7 +62,7 @@ public function remove(string|User $user): void {
62
public function password(string|User $user, string|Secret $password): void {
63
$this->collection->update(
64
['username' => $user instanceof User ? $user->username() : $user],
65
- ['hash' => $this->hash($password)]
+ [['$set' => ['hash' => $this->hash($password)]]]
66
);
67
}
68
0 commit comments