Skip to content

Commit 4914787

Browse files
committed
[doc] Highlight that user must be logged in before token generation
1 parent 9004c10 commit 4914787

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/web/authentication.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,11 @@ Command line clients can authenticate itself using the username/password stored
446446
in the [`.codechecker.passwords.json`](#preconfigured-credentials). It is
447447
obviously not a good idea to store passwords in text files. Instead of this the
448448
user is able to generate a token from command line, that can be used to
449-
authenticate in the name of his/her name. To generate a new token, the user must
450-
be logged in first.
449+
authenticate in the name of his/her name.
450+
451+
**Note**: To generate a new token, the user **must be logged in** first. Use
452+
the `CodeChecker cmd login` command for it. After you have successfully logged
453+
in you can generate a new token with the `CodeChecker cmd token new` command.
451454

452455
Personal tokens can be written instead of the user's password in the
453456
`~/.codechecker.passwords.json` file:

0 commit comments

Comments
 (0)