Modrinth/plugins/auth.js
Geometrically 24c8e29691
More secure custom authentication solution (#126)
* Remove Nuxt Auth from the project, and switch to a custom solution

* Replace old testing code

* Remove warnings

* Add comments to hard to understand function calls in middleware

* Use arrow functions
2021-03-29 09:43:00 -07:00

4 lines
77 B
JavaScript

export default ({ store }, inject) => {
inject('auth', store.state.auth)
}