mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-16 06:02:36 +02: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:
parent
86024cde30
commit
a7f6ad1cac
@ -15727,3 +15727,5 @@
|
||||
* Incremented the package version to 2.15.3int00.
|
||||
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a typo in 'lib/Makefile.am'.
|
||||
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'lib/rduser.cpp' that broke the build on Windows.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user