Fix login

This commit is contained in:
Dane Everitt 2018-07-15 16:57:00 -07:00
parent ca27346e49
commit 4c4f6d3afe
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 7 additions and 41 deletions

View file

@ -2,7 +2,7 @@ import User from './../../models/user';
const route = require('./../../../../../vendor/tightenco/ziggy/src/js/route').default;
export const authModule = {
export default {
namespaced: true,
state: {
user: typeof window.PterodactylUser === 'object' ? new User(window.PterodactylUser) : null,