Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-09-12 22:45:57

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

How to Reset Protected Album after user logout?

I have a Protected (Unmanaged), which just requires an access code but when the user logouts of that the Access Code screen never reengages. I do a check on PASSWORD_ENABLED && LOGGED_IN and this works the first time, but after logout it does not reappear.  How do I reset it after user logout so it will reengage on next time?  BTW, I have the Client Managed logout/login working correctly just cannot seem to get the Protected (unmanaged) working.  Any help is appreciated.

Thanks,
Michael

Offline

#2 2019-09-12 23:09:28

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: How to Reset Protected Album after user logout?

Is this what you’re using?
http://community.theturninggate.net/vie … 887#p49887
(Would need updating for BL 2 phplugins)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-09-12 23:18:35

mad
Member
From: Arkansas
Registered: 2014-01-03
Posts: 154
Website

Re: How to Reset Protected Album after user logout?

Yes this is what I am using but once it is logged in and then a logout is performed it never resets the access page.  So, there must be a flag or something to toggle just need to know what or how it is.

I found the problem in my code it was that I never updated my production system with a fix that I had made on my test system some time back.  Sorry for the inconvenience - just a bone head move on my part.

Thanks,
Michael

Last edited by mad (2019-09-12 23:24:34)

Offline

Board footer

Powered by FluxBB