evgeny-gridasov / openvpn-otp

OpenVPN OTP token support plugin
GNU General Public License v3.0
279 stars 74 forks source link

Allow multiple tokens for a specific user name #6

Closed calve closed 8 years ago

calve commented 8 years ago

The diff is heavy but the patch is simple; instead of stopping after the first failure, we keep iterating over usernames after an identification failure, until we reach the end of the otp-secret file.

View it without whitespaces changes

evgeny-gridasov commented 8 years ago

Most of it is white space change. Thanks for your contribution, I'll merge it as soon as I do some testing myself.

evgeny-gridasov commented 8 years ago

I've accepted this pull request. There was a small bug that I fixed on the spot.