Set up for some basic permissions
This commit is contained in:
parent
494b30b7c5
commit
d802da6f8b
2 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,8 @@ class AuthMenu extends Component {
|
||||||
user_authed: true,
|
user_authed: true,
|
||||||
where_in_auth_menu: "loggedIn",
|
where_in_auth_menu: "loggedIn",
|
||||||
username: data.username,
|
username: data.username,
|
||||||
|
admin: data.admin,
|
||||||
|
verified: data.verified,
|
||||||
exp: data.exp,
|
exp: data.exp,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,8 @@ export default (state = initialState, action) => {
|
||||||
return {...state, ...{
|
return {...state, ...{
|
||||||
user_authed: true,
|
user_authed: true,
|
||||||
username: data.username,
|
username: data.username,
|
||||||
|
admin: data.admin,
|
||||||
|
verified: data.verified,
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
else return;
|
else return;
|
||||||
|
|
Reference in a new issue