saving my place so i dont have too many threads

This commit is contained in:
riley
2017-05-15 16:25:32 -06:00
parent e32ab99edf
commit 4d3788e4c9
8 changed files with 177 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports = {
constants: [],
reducer: (perm, user, context, initialState) => {
// this runs before everything
if (user.status === 'BANNED') {
return false;
}
return initialState;
}
};