You've already forked AstralRinth
forked from didirus/AstralRinth
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
This commit is contained in:
3
plugins/auth.js
Normal file
3
plugins/auth.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default ({ store }, inject) => {
|
||||
inject('auth', store.state.auth)
|
||||
}
|
||||
Reference in New Issue
Block a user