[pl] jebać narodowców
This commit is contained in:
parent
38c1fa33f8
commit
0763157fdf
|
@ -1,6 +1,6 @@
|
|||
const overloadPeriods = {
|
||||
// en: [[15, 24]],
|
||||
pl: [[0, 24]],
|
||||
// pl: [[0, 24]],
|
||||
};
|
||||
|
||||
module.exports = (locale, timestamp = new Date) => {
|
||||
|
|
|
@ -185,6 +185,11 @@ const router = Router();
|
|||
router.use(handleErrorAsync(reloadUser));
|
||||
|
||||
router.post('/user/init', handleErrorAsync(async (req, res) => {
|
||||
if (req.body.usernameOrEmail && req.body.usernameOrEmail.includes('narodowcy.net')) {
|
||||
req.socket.end();
|
||||
return;
|
||||
}
|
||||
|
||||
let user = undefined;
|
||||
let usernameOrEmail = req.body.usernameOrEmail;
|
||||
|
||||
|
|
Reference in New Issue