Merge branch 'hotfix/21.56.9' into master
[gitter.git] / server / web / middlewares / is-phone.js
blobd3cc0a4b664a296976a53aeb100119c838c30f0a
1 'use strict';
3 var isPhone = require('../is-phone');
5 function isPhoneMiddleware(req, res, next) {
6   req.isPhone = isPhone(req);
7   next();
10 module.exports = isPhoneMiddleware;