cozy / cozy-proxy

This repository was part of CozyV2 which has been deprecated - Cozy authentication and routing layer
https://blog.cozycloud.cc/post/2016/11/21/On-the-road-to-Cozy-version-3
GNU Affero General Public License v3.0
26 stars 31 forks source link

Fixed a potential crash #288

Closed babolivier closed 8 years ago

babolivier commented 8 years ago

If the user has already enabled 2FA before applying the update bringing recovery tokens, its proxy can crash whenever it inputs a wrong 2FA token, because the array containing them doesn't exist yet.