From 976bdace6704b60bc984635917ee56f17797c10a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 3 Sep 2015 16:35:07 -0400 Subject: able to log in --- lib/util.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/util.js (limited to 'lib/util.js') diff --git a/lib/util.js b/lib/util.js new file mode 100644 index 0000000..11c0cac --- /dev/null +++ b/lib/util.js @@ -0,0 +1,3 @@ +var util = module.exports = {} + +util.sanitizeName = function (s){ return (s || "").replace(new RegExp("[^-_a-zA-Z0-9]", 'g'), "") } -- cgit v1.2.3-70-g09d2