mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:09:27 +01:00
remove stray whitespace, add descr for sha password encrypt function
This commit is contained in:
parent
d2f00f43ce
commit
96432a8a97
@ -1178,7 +1178,7 @@
|
||||
if(!function_exists('parse_navbar'))
|
||||
{
|
||||
$this->navbar(False);
|
||||
include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/navbar.inc.php');
|
||||
include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/navbar.inc.php');
|
||||
}
|
||||
if (!@$GLOBALS['phpgw_info']['flags']['nonavbar'] && !@$GLOBALS['phpgw_info']['flags']['navbar_target'])
|
||||
{
|
||||
@ -1313,7 +1313,11 @@
|
||||
|
||||
return $ldappassword;
|
||||
}
|
||||
|
||||
/*!
|
||||
@function sha_cryptpasswd
|
||||
@abstract sha encrypt password
|
||||
@param $userpass user password
|
||||
*/
|
||||
function sha_cryptpasswd($userpass)
|
||||
{
|
||||
$hash = base64_encode(mhash(MHASH_SHA1, $userpass));
|
||||
|
Loading…
Reference in New Issue
Block a user