Prevent Login

9 views
Skip to first unread message

Fotis Paraskevopoulos

unread,
Jun 22, 2015, 11:02:01 AM6/22/15
to apostr...@googlegroups.com
Hello Tom,

Is there any way to prevent login site wide through some middleware.

I am thinking this would be an option in local.js. This is for a read-only instance that needs to be live.

FP

Tom Boutell

unread,
Jun 22, 2015, 11:15:32 AM6/22/15
to apostr...@googlegroups.com
Not officially, but you could just pass middleware that does:

delete req.user


--
You received this message because you are subscribed to the Google Groups "apostrophenow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apostropheno...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--


THOMAS BOUTELL, DEV & OPS
P'UNK AVENUE | (215) 755-1330  |  punkave.com

Fotis Paraskevopoulos

unread,
Jun 22, 2015, 11:17:42 AM6/22/15
to apostr...@googlegroups.com
Thanks!
Reply all
Reply to author
Forward
0 new messages