From 0f195f57e87cb2219b832afeddb137e79833f648 Mon Sep 17 00:00:00 2001 From: fazo96 Date: Mon, 26 May 2014 16:09:11 +0200 Subject: [PATCH] removed old commented code --- app.coffee | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app.coffee b/app.coffee index 86d0777..f3227a9 100644 --- a/app.coffee +++ b/app.coffee @@ -1,18 +1,6 @@ notes = new Meteor.Collection "notes" if Meteor.isServer - #notes.insert { content: "Example" } unless notes.find().fetch().length > 0 - # Accounts - ### - Accounts.registerLoginHandler (req) -> - return null unless req.mail and req.password - return null unless req.mail.length > 4 and req.pass.length >= 8 - user = Meteor.users.findOne { mail: req.mail } - if not user - user = Meteor.insert { mail: req.mail, password: req.password } - { id: user._id } - ### - Accounts.config { sendVerificationEmail: true loginExpirationInDays: 1