Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrade disable/enable 2fa generates a new code #3130

Closed
wahlis opened this issue Jan 17, 2017 · 2 comments
Closed

After upgrade disable/enable 2fa generates a new code #3130

wahlis opened this issue Jan 17, 2017 · 2 comments

Comments

@wahlis
Copy link

wahlis commented Jan 17, 2017

Steps to reproduce

  1. Upgrade to 11.0.1
  2. Log in after session timout

Expected behaviour

After entering code I should be able to login

Actual behaviour

TOTP (Google Authenticator) Swedish error message "Fel vid verifiering av tvåfaktorsautentisering."
New prompt to add Authentication code

After using a backup code I was able to login. Disabling 2fa let me login again. When I re-enable it a new key is generated.

This behaviour was not before the upgrade. I have had some issues with OPDS not working with app passwords so I have disabled and the re-enabled 2fa several times before.

Server configuration

Operating system:
Ubuntu 16.04.1 LTS

Web server:
Apache 2.4.18

Database:
mysql-server-core-5.7.16

PHP version:
7.0.13

Nextcloud version: (see Nextcloud admin page)
11.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Update

@nickvergessen
Copy link
Member

@ChristophWurst

@ChristophWurst
Copy link
Member

@wahlis could you please open an issue at https://github.com/nextcloud/twofactor_totp/issues/new (just copy the text from above into a new issue). If you have anything related to this issue in the logs please provide your log entries too. I will have a look then. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants