Skip to content

Commit 7081611

Browse files
authored
Merge pull request #93 from wp-cli/84-session-token
Mention that tokens aren't actually tokens
2 parents a82553a + f1e0c01 commit 7081611

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/User_Session_Command.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ public function destroy( $args, $assoc_args ) {
102102
/**
103103
* List sessions for the given user.
104104
*
105+
* Note: The `token` field does not return the actual token, but a hash of
106+
* it. The real token is not persisted and can only be found in the
107+
* corresponding cookies on the client side.
108+
*
105109
* ## OPTIONS
106110
*
107111
* <user>

0 commit comments

Comments
 (0)