Skip to content

Commit 24dd646

Browse files
committed
readme add change password
1 parent ca9072c commit 24dd646

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ $ npm install code-push-cli@latest -g
126126
$ code-push login http://127.0.0.1:3000 #login in browser account:admin password:123456
127127
```
128128

129+
change admin password eg.
130+
131+
```shell
132+
$ curl -X PATCH -H "Authorization: Bearer mytoken" -H "Accept: application/json" -H "Content-Type:application/json" -d '{"oldPassword":"123456","newPassword":"654321"}' http://127.0.0.1:3000/users/password
133+
```
134+
129135
## [react-native-code-push](https://github.com/Microsoft/react-native-code-push) for react-native
130136

131137
```shell

0 commit comments

Comments
 (0)