mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rduser.cpp' that broke the build on Windows.
This commit is contained in:
@@ -67,13 +67,14 @@ bool RDUser::authenticated(bool webuser) const
|
||||
}
|
||||
delete q;
|
||||
}
|
||||
#ifndef WIN32
|
||||
else {
|
||||
QString cmd=
|
||||
"rdauth "+pamService()+" \""+user_name+"\" \""+user_password+"\"";
|
||||
int exitcode=system(cmd);
|
||||
return WEXITSTATUS(exitcode)==0;
|
||||
}
|
||||
|
||||
#endif // WIN32
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user