NIIF / simplesamlphp-module-authtfaga

Two-factor authentication module for simpleSAMLphp using Google Authenticator
12 stars 10 forks source link

Don't use hardcoded authentication source ID #7

Closed vittala closed 7 years ago

vittala commented 7 years ago

If 2FA has to be used with different mainAuthSource values, then we must be able to use multiple definitions of the source, rather than just assuming 'authtfaga'. This change looks up the current state source and uses that as the source ID.