Skip to content

Commit

Permalink
chore: rename master to main (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Feb 3, 2025
1 parent ba755cc commit bb4c520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- master
- next
- 'v*'
paths-ignore:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @fastify/auth

[![CI](https://github.com/fastify/fastify-auth/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastify/fastify-auth/actions/workflows/ci.yml)
[![CI](https://github.com/fastify/fastify-auth/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/fastify-auth/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/@fastify/auth.svg?style=flat)](https://www.npmjs.com/package/@fastify/auth)
[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)

Expand Down Expand Up @@ -168,7 +168,7 @@ fastify
```


Route definition should be done as [a plugin](https://github.com/fastify/fastify/blob/master/docs/Reference/Plugins.md) or within an `.after()` callback. For a complete example, see [example.js](test/example.js).
Route definition should be done as [a plugin](https://github.com/fastify/fastify/blob/main/docs/Reference/Plugins.md) or within an `.after()` callback. For a complete example, see [example.js](test/example.js).

`@fastify/auth` runs all authentication methods, allowing the request to continue if at least one succeeds; otherwise, it returns an error to the client.
Any successful authentication stops `@fastify/auth` from trying the rest unless the `run: 'all'` parameter is provided:
Expand Down

0 comments on commit bb4c520

Please sign in to comment.