File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,10 @@ public function authenticate(ConnectionInterface $conn): TokenInterface
42
42
}
43
43
}
44
44
45
- $ loggerContext = [
46
- 'connection_id ' => $ conn ->resourceId ,
47
- 'session_id ' => $ conn ->WAMP ->sessionId ,
48
- ];
49
-
50
45
$ token = $ this ->getToken ($ conn );
51
46
52
47
$ identifier = $ this ->clientStorage ->getStorageId ($ conn );
53
48
54
- $ loggerContext ['storage_id ' ] = $ identifier ;
55
49
$ this ->clientStorage ->addClient ($ identifier , $ token );
56
50
57
51
if (null !== $ this ->logger ) {
@@ -60,7 +54,11 @@ public function authenticate(ConnectionInterface $conn): TokenInterface
60
54
'%s connected ' ,
61
55
method_exists ($ token , 'getUserIdentifier ' ) ? $ token ->getUserIdentifier () : $ token ->getUsername ()
62
56
),
63
- $ loggerContext
57
+ [
58
+ 'connection_id ' => $ conn ->resourceId ,
59
+ 'session_id ' => $ conn ->WAMP ->sessionId ,
60
+ 'storage_id ' => $ identifier ,
61
+ ]
64
62
);
65
63
}
66
64
You can’t perform that action at this time.
0 commit comments