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 2018-12-20 03:01:54

mhayes5254
Member
Registered: 2012-11-27
Posts: 65

Backlight login not working

When typing mysite/backlight, I get

This page is not working

The browser ends up at
http://m2photojourney.com/backlight/admin/2fa/

The last thing I was working on was that I added reCaptcha and the Paypal test keys

Offline

#2 2018-12-20 03:10:48

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

Re: Backlight login not working

looks like it's trying to use Two Factor Authorization

when I go to http://m2photojourney.com/backlight/ I get the regular login screen without the added admin/2fa/ in the url

try clearing browser cache?


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 2018-12-20 05:02:40

mhayes5254
Member
Registered: 2012-11-27
Posts: 65

Re: Backlight login not working

I may have turned on Two factor. I was considering it but apparently did turned it on. I have not gotten anay emails from the site. How does it work?

I get the login prompt initially, then the failure message. Clearing the cache brings back the login screen and the cycle repeats.

How can I get past the two factor issue?

Offline

#4 2018-12-20 05:20:35

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

Re: Backlight login not working

According to the tool-tip in Backlight Settings, when using Two Factor Authentication you should also receive a code on your mobile device to enter (after the password, apparently).

I don't know how to get past it if it's not doing what it's supposed to be doing. Ben will need to weigh in.


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

Offline

#5 2018-12-20 05:36:57

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

Re: Backlight login not working


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

Offline

#6 2018-12-20 06:16:21

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Backlight login not working

If you're trying to send yourself the code to set up 2FA, but not receiving anything, another way of finding the link that would have been sent to you is to look at the most-recent log file under backlight/logs/admin/.  All outgoing links related to logins, such as password resets and unlocking links are logged there, for the purpose of getting back into your system if emails aren't getting through.

Offline

#7 2018-12-20 06:45:23

mhayes5254
Member
Registered: 2012-11-27
Posts: 65

Re: Backlight login not working

Replacing the backlight/.htaccess file kick started the process. It is working now.

For me, the logs are in backlight/data/admin/logs

After sorting this out, I looked in the documentation and could not find anything, only the pop-up on the settings page that says google authentication is used. I also turned it iff, since It requires authentication on every login rather than just registering a device. There are two of us logging into admin from two different computers. Is that what is causing this? Perhaps we should set up two different admin accounts (probably a good idea anyway). If we do that, will we sill have to get a code on every login?

Offline

#8 2018-12-20 07:22:06

mhayes5254
Member
Registered: 2012-11-27
Posts: 65

Re: Backlight login not working

I verified how it works. one time setup with the barcode then you need to get a code from your phone for each subsequent login

Offline

#9 2019-06-16 20:34:13

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Backlight login not working

Brief panic attack this morning. Decided to turn on 2FA after updating to v2.0.9. Was promptly locked out. Before doing something stupid like trying to do a site restore, I actually did a search and found this item.

I upgraded to BL2 with the first version and my /backlight .htaccess file was dated 10/10/2018. Following the instructions above, I found a file dated 02/01/2019 and uploaded. All is well and 2FA now works.

Somehow the BL module update did not update this particular file leading to the error.


User with too little time but coding is therapeutic.

Offline

#10 2019-06-17 07:14:57

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Backlight login not working

I’m glad you worked it out. Module updates don’t touch anything outside the backlight/modules/ directory.

Offline

Board footer

Powered by FluxBB