Last active
November 9, 2018 18:16
-
-
Save Taik/836adbbf2721e70ef841bd967d67804a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/auth.c 2016-08-25 09:31:15.000000000 -0400 | |
+++ b/auth.c 2018-11-08 13:54:47.000000000 -0500 | |
@@ -221,7 +221,7 @@ | |
} else if (!strcmp(input_type, "text")) { | |
opt->type = OC_FORM_OPT_TEXT; | |
} else if (!strcmp(input_type, "password")) { | |
- if (!cstp_can_gen_tokencode(vpninfo, form, opt)) | |
+ if (cstp_can_gen_tokencode(vpninfo, form, opt)) | |
opt->type = OC_FORM_OPT_TOKEN; | |
else | |
opt->type = OC_FORM_OPT_PASSWORD; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment