Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

2FA broken after update Grav v1.7.10 - Admin v1.10.9

admin

Started by Jeffrey de Waal 5 years ago · 3 replies · 668 views
5 years ago

After update Grav v1.7.10 and Admin v1.10.9 2FA is broken. I got the message incorrect wrong token. I allready delete clear the cache, try different browsers, and try in private mode. Notthing did help the got the 2FA working.

5 years ago

I'm seeing the same problem 😦

I suggest this is recorded against the login plugin, which was updated with the 1.7.10 update, at least for me, and is a more likely source of the fault.

Edit: apparently the fault has been identified in the admin.

last edited 04/07/21 by beejay41
5 years ago

The only change to the login plugin is they add an extra validation control to the password field. I see that you think the fault is in the admin plugin. Found anything?

PHP
    $password = $this->validateField('password1', $data['password'] ?? $data['password1'] ?? null);
    foreach ($data as $key => &$value) {
        $value = $this->validateField($key, $value, $key === 'password2' ? $password : '');
    }
    unset($value);

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 57 14 hours ago
Support · by Anna, 3 days ago
2 65 17 hours ago
Support · by Justin Young, 18 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago