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

Phone Number required action triggering constantly #28

Closed
svenseeberg opened this issue Jul 7, 2022 · 2 comments
Closed

Phone Number required action triggering constantly #28

svenseeberg opened this issue Jul 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@svenseeberg
Copy link
Member

When logging in a user is always asked for a new phone number, while sending the SMS always uses the development mode.

@svenseeberg svenseeberg added the bug Something isn't working label Jul 7, 2022
@melegiul
Copy link
Collaborator

melegiul commented Jul 8, 2022

while sending the SMS always uses the development mode.

Probably caused by loading the wrong config during required action executions
Database state:

select alias, name, value from authenticator_config c join authenticator_config_entry e on c.id = e.authenticator_id where e.name = 'simulation' and alias = 'sms-2fa';
  alias  |    name    | value 
---------+------------+-------
 sms-2fa | simulation | true
 sms-2fa | simulation | false
 sms-2fa | simulation | false

Related to #24

@svenseeberg
Copy link
Member Author

Indeed, the database was not clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants