Open ynuyasha opened 4 years ago
Are your phone and server clocks in sync?
I have the same problem. I use the newest docker image, but TOTP enabling doesn't work. The client clock and the server clock had a difference of 5 minutes, but I read another issue with the same problem. There they suggest to sync the clocks und so I done it. But the error is still there. I have this javascript error at loading the settings page:
But I don't think this error has anything to do with this problem.
This error is from the unsplash
app.
Ok, I uninstall the Splash App and the error is gone in the settings page. But the problem with TOTP activating is still there
you can try looking into nextcloud.log or inspecting the HTTP requests when you try to verify the TOTP
OK, I restartet my browser and open the developer tools to save the http requests. Now it all works fine. I think after syncing the clock, you must refresh the session to not run into this error again.
Steps to reproduce
Expected behaviour
I can enable totp for user admin
Actual behaviour
Verify key fail and i can't enable TOTP for user admin
Server configuration
Operating system: Docker image 18.0.3-apache on Ubuntu 18.04 LTS Web server: apache Database: sqlite PHP version: included on docker image Version: (see admin page) 18.0.3 Updated from an older version or fresh install: fresh install List of activated apps:
The content of config/config.php:
Client configuration
Browser: Chrome latest Operating system: windows 10 Pro
Logs
Web server error log
Server log (data/nextcloud.log)
Browser log