mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-05 14:18:54 +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.
|
* Incremented the package version to 2.15.3int00.
|
||||||
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
|
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a typo in 'lib/Makefile.am'.
|
* 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;
|
delete q;
|
||||||
}
|
}
|
||||||
|
#ifndef WIN32
|
||||||
else {
|
else {
|
||||||
QString cmd=
|
QString cmd=
|
||||||
"rdauth "+pamService()+" \""+user_name+"\" \""+user_password+"\"";
|
"rdauth "+pamService()+" \""+user_name+"\" \""+user_password+"\"";
|
||||||
int exitcode=system(cmd);
|
int exitcode=system(cmd);
|
||||||
return WEXITSTATUS(exitcode)==0;
|
return WEXITSTATUS(exitcode)==0;
|
||||||
}
|
}
|
||||||
|
#endif // WIN32
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user