Skip to content
Commit 2f36920d authored by Christoph Wurst's avatar Christoph Wurst
Browse files

fix undefined index error when the backup codes provider is not active



In users have not created backup codes yet the app is not enabled for that user
and therefore we got an undefined index error because the code assumed it was
always there. It now properly returns null.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 4e682d41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment