Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Mar 14, 2024
1 parent e4741af commit a729fe0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 6 additions & 4 deletions website/_i18n/ar/user-guides/grpc-basic-auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tool or a predefined utility.

Example Format:

```
```shell
username: foo
password: bar

Expand Down Expand Up @@ -54,7 +54,9 @@ This process results in a bcrypt-hashed password that can be used for basic auth

To generate basic authentication credentials, you can use the following form to create a hashed credential.

<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js" integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js"
integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
function generateHtpasswd() {
var username = document.getElementById("username").value;
Expand Down Expand Up @@ -90,8 +92,8 @@ To generate basic authentication credentials, you can use the following form to

1. Open the `config.toml` file in your Pactus directory.

- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`
- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`

2. Insert the generated user with the hashed password into the `basic_auth_credential` field in the config file.

Expand Down
10 changes: 6 additions & 4 deletions website/_i18n/en/user-guides/grpc-basic-auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tool or a predefined utility.

Example Format:

```
```shell
username: foo
password: bar

Expand Down Expand Up @@ -54,7 +54,9 @@ This process results in a bcrypt-hashed password that can be used for basic auth

To generate basic authentication credentials, you can use the following form to create a hashed credential.

<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js" integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js"
integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
function generateHtpasswd() {
var username = document.getElementById("username").value;
Expand Down Expand Up @@ -90,8 +92,8 @@ To generate basic authentication credentials, you can use the following form to

1. Open the `config.toml` file in your Pactus directory.

- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`
- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`

2. Insert the generated user with the hashed password into the `basic_auth_credential` field in the config file.

Expand Down
10 changes: 6 additions & 4 deletions website/_i18n/zh/user-guides/grpc-basic-auth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tool or a predefined utility.

Example Format:

```
```shell
username: foo
password: bar

Expand Down Expand Up @@ -54,7 +54,9 @@ This process results in a bcrypt-hashed password that can be used for basic auth

To generate basic authentication credentials, you can use the following form to create a hashed credential.

<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js" integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bcryptjs/2.4.3/bcrypt.min.js"
integrity="sha512-DNI/FJdkfyeuPUal7lDkRVg0mFY2n4IZJJYqPbQWLL0COxLi6G6nmf5gr1vW1Bd4wYC09hOvZVsSclfXxUTU/w=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
function generateHtpasswd() {
var username = document.getElementById("username").value;
Expand Down Expand Up @@ -90,8 +92,8 @@ To generate basic authentication credentials, you can use the following form to

1. Open the `config.toml` file in your Pactus directory.

- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`
- Windows:`C:\Users\{user}\pactus`
- Linux and Mac: `/home/{user}/pactus`

2. Insert the generated user with the hashed password into the `basic_auth_credential` field in the config file.

Expand Down

0 comments on commit a729fe0

Please sign in to comment.