Logo
Explore Help
Sign In
MrSphay/Modrinth-plus
1
0
Fork 0
You've already forked Modrinth-plus
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ff48f08241d4d8bfa4e47cdeb38837b60542d156
Modrinth-plus/plugins/auth.js

4 lines
77 B
JavaScript
Raw Normal View History

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
export default ({ store }, inject) => {
inject('auth', store.state.auth)
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 23ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API