Browse Source

Merge correction

prieto 8 years ago
parent
commit
8094b95d1e
1 changed files with 2 additions and 9 deletions
  1. 2
    9
      plugins/webui/run.py

+ 2
- 9
plugins/webui/run.py View File

@@ -44,18 +44,11 @@ def cookie_hash(token):
44 44
 #@return None or a session token
45 45
 def load_cookie(request):
46 46
     token = request.cookies.get(COOKIE_SESSION_ID)
47
-<<<<<<< HEAD
48
-    
49
-    if token is None or len(token) == 0:
50
-        return None
51
-    
52
-    token=token.encode()
53
-    
54
-=======
47
+
55 48
     if token is None or len(token) == 0:
56 49
         return None
57 50
     token=token.encode()
58
->>>>>>> 0fc8616c02ad999204e1e4926e9007c0ae7e035b
51
+
59 52
     hashtok = request.cookies.get(COOKIE_SESSION_HASH)
60 53
     if hashtok is None:
61 54
         raise ClientAuthenticationFailure(

Loading…
Cancel
Save