소스 검색

Closes #125: Ensure auth after email change

Bastien Sevajol (Algoo) 8 년 전
부모
커밋
6d4dc006e5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tracim/tracim/lib/user.py

+ 1 - 0
tracim/tracim/lib/user.py 파일 보기

@@ -53,6 +53,7 @@ class UserApi(object):
53 53
         if self._user and user.user_id==self._user.user_id:
54 54
             # this is required for the session to keep on being up-to-date
55 55
             tg.request.identity['repoze.who.userid'] = email
56
+            tg.auth_force_login(email)
56 57
 
57 58
     def user_with_email_exists(self, email: str):
58 59
         try: