Skip to content

Commit

Permalink
fix left column
Browse files Browse the repository at this point in the history
  • Loading branch information
baimard committed Dec 15, 2020
1 parent 11a0c14 commit afcaa9e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pam_yubico.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ authorize_user_token (struct cfg *cfg,
int retval = AUTH_ERROR;
if (cfg->mysql_server)
{
#ifdef HAVE_MYSQL
/* Administrator had configured the database and specified is name
as an argument for this module.
*/
DBG ("Using Mariadb or Mysql Database");
retval = check_user_token_mysql(cfg->mysql_server, cfg->mysql_user, cfg->mysql_password, cfg->mysql_database, username, otp_id, cfg->debug, cfg->debug_file);
#else
DBG (("Trying to use MYSQL, but this function is not compiled in pam_yubico!!"));
#endif
#ifdef HAVE_MYSQL
/* Administrator had configured the database and specified is name
as an argument for this module.
*/
DBG ("Using Mariadb or Mysql Database");
retval = check_user_token_mysql(cfg->mysql_server, cfg->mysql_user, cfg->mysql_password, cfg->mysql_database, username, otp_id, cfg->debug, cfg->debug_file);
#else
DBG (("Trying to use MYSQL, but this function is not compiled in pam_yubico!!"));
#endif
}
else if (cfg->auth_file)
{
Expand Down

0 comments on commit afcaa9e

Please sign in to comment.