sails-permissions icon indicating copy to clipboard operation
sails-permissions copied to clipboard

How to implement auto-login after signup?

Open ahsang opened this issue 10 years ago • 5 comments

I cannot figure out how to automatically login after a user is signed up.

ahsang avatar Jul 30 '15 17:07 ahsang

+1

s-devaney avatar Sep 28 '15 14:09 s-devaney

I'm looking for the same thing. I was hoping using req.login after the user was created would work but I get an error of [Error: passport.initialize() middleware not in use]

dottodot avatar Oct 06 '15 18:10 dottodot

I am also facing the exact same issue. Any workaround would be much appreciated.

schartz avatar Sep 22 '16 12:09 schartz

@schartz i think this can be figured out somehow. will look at it in a while i am sure we can find a way.

ahsang avatar Sep 22 '16 14:09 ahsang

Any progress on this one?

anabelle avatar Nov 03 '16 17:11 anabelle