Skip to content

Commit 3f7a3d0

Browse files
committed
Password change doc tidyup
1 parent 64a889d commit 3f7a3d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3779,8 +3779,8 @@ Encryption of data-at-rest in the database.
37793779
#### Changing Passwords
37803780
37813781
Database passwords can be changed with
3782-
[`connection.changePassword()`](#changepassword). For example, to
3783-
change HR's password from 'welcome' to 'streamboat':
3782+
[`connection.changePassword()`](#changepassword). For example, the HR
3783+
user can change their password from 'welcome' to 'steamboat':
37843784
37853785
```javascript
37863786
oracledb.getConnection(
@@ -3807,15 +3807,15 @@ ignored and can be an empty string:
38073807
```javascript
38083808
oracledb.getConnection(
38093809
{
3810-
user : "system",
3810+
user : "system", // a privileged user
38113811
password : "secret",
38123812
connectString : "localhost/orclpdb"
38133813
},
38143814
function(err, connection) {
38153815
if (err) { console.error(err.message); return; }
38163816

38173817
connection.changePassword(
3818-
'hr', '', 'steamboat',
3818+
'hr', '', 'steamboat', // change HR's password to 'steamboat'
38193819
function(err) {
38203820
. . .
38213821
});

0 commit comments

Comments
 (0)