1. Ivan Melnikov
  2. gae-wiki

Commits

Ivan Melnikov  committed a372dda Draft

Update auth cache for approved user

  • Participants
  • Parent commits addeb18
  • Branches default

Comments (0)

Files changed (1)

File user.py

View file
 		user.approved = datetime.now()
 		user.put()
 
+		# update authorization cache
+		memcache.set(CACHE_AUTH+user.user_id, True)
+
 
 debug = os.environ.get('SERVER_SOFTWARE', '').startswith('Dev')