1
0
Fork 0

Set up for some basic permissions

This commit is contained in:
Amarpreet Minhas 2020-01-20 18:56:40 -05:00
parent 494b30b7c5
commit d802da6f8b
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,8 @@ class AuthMenu extends Component {
user_authed: true,
where_in_auth_menu: "loggedIn",
username: data.username,
admin: data.admin,
verified: data.verified,
exp: data.exp,
}
}

View file

@ -15,6 +15,8 @@ export default (state = initialState, action) => {
return {...state, ...{
user_authed: true,
username: data.username,
admin: data.admin,
verified: data.verified,
}}
}
else return;