You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/using-gitbase/security.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
## User credentials
4
4
5
-
User credentials can be specified in the command line or using a user file. For a single user this can be done with parameters `--user` and `--password`:
5
+
User credentials can be specified in the command line or in the user file. For a single user this can be done with parameters `--user` and `--password`:
6
6
7
7
```
8
8
gitbase server --user root --password r00tp4ssword! -d /my/repositories/path
9
9
```
10
10
11
-
If you want to have more than one user or not having the password in plain text you can use a user file with the following format:
11
+
If you want to have more than one user or not having the password in plain text, then the user file can be useful. You can keep passwords, permissions and user names in the following format:
12
12
13
13
```json
14
14
[
@@ -24,7 +24,7 @@ If you want to have more than one user or not having the password in plain text
24
24
]
25
25
```
26
26
27
-
You can use a hashed or plain text password. Hashed version uses the same format as MySQL 5.x passwords. You can generate the native password with this command, remember to prefix the hash with `*`:
27
+
You can either specify passwords as a plain text or hashed. Hashed version uses the same format as MySQL 5.x passwords. You can generate the native password with this command, remember to prefix the hash with `*`:
0 commit comments