Skip to content
Snippets Groups Projects
Commit 4257fb17 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

removed some logs and added some @TODOs

parent fa7c87ec
No related branches found
No related tags found
No related merge requests found
console.log 'setting up guests'
# @TODO check this
AccountsGuest.forced = false
console.log 'desativa guest ->',AccountsGuest
# @TODO check this
AccountsGuest.forced = false
console.log 'desativado guest ->',@AccountsGuest
......@@ -64,6 +64,7 @@ Accounts.validateLoginAttempt (login) ->
# console.log JSON.stringify login, null, ' '
# @TODO: why there is no profile.guest here?
if login.user?.profile?.guest is true
throw new Meteor.Error 'guest-login-disabled'
return false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment