ufairiya / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

conn->embedded_auth gets stuck after being set to true #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use embedded authorization
2. navigate to a page that is authorized -> page displays
3. navigate to a page that is NOT authorized -> page displays (but shouldn't)

What version of the product are you using? On what operating system?
mongoose 2.8 WIN XP

Please provide any additional information below.

for step 3 above, conn->embedded_auth is already set to true upon entry of
my authorize callback function. Maybe embedded_auth should be cleared in
reset_connection_attributes?

Original issue reported on code.google.com by streambr...@gmail.com on 22 Jan 2010 at 9:11

GoogleCodeExporter commented 9 years ago
Same issue here, adding 

conn->embedded_auth = FALSE;

at the end of reset_per_request_attributes

solved the issue for me...

Original comment by sebastia...@gmail.com on 22 Jul 2010 at 1:49

GoogleCodeExporter commented 9 years ago
Deprecated by 2.9

Original comment by valenok on 7 Sep 2010 at 7:37