Welcome Guest, Not a member yet? Register   Sign In
Community Auth verify_min_level logging users out?
#1

I see in the source that verify_min_level() calls authentication->check_login() which clears the session vars if the minlevel is not reached.

Is this intended behaviour? Because right now I have a use-case whereby some additional content is displayed at say minlevel 6, on a protected page where lower level users can still see the rest of the content.

but doing verify_min_level logs all lower level users out as a result
Reply


Messages In This Thread
Community Auth verify_min_level logging users out? - by cwchong - 05-22-2016, 09:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB