mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-01 18:08:49 +03:00
Improved Auth functions as trait
and use JSON instead of serialize for encoding/decoding data
This commit is contained in:
parent
98b5989b44
commit
f92810069a
7 changed files with 411 additions and 381 deletions
|
|
@ -152,7 +152,7 @@ class Account
|
|||
|
||||
public function Hash() : string
|
||||
{
|
||||
return md5(APP_SALT.$this->Email().APP_SALT.$this->DomainIncHost().
|
||||
return \md5(APP_SALT.$this->Email().APP_SALT.$this->DomainIncHost().
|
||||
APP_SALT.$this->DomainIncPort().APP_SALT.$this->Password().APP_SALT.'0'.APP_SALT.$this->ParentEmail().APP_SALT);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue