Example #1
0
	def login(self, user):
		self.set_secure_cookie('user_id', str(user.key().id()))
Example #2
0
 def login(self, user):
     self.set_cookie('uid', str(user.key().id()))