mirror of
https://github.com/elyby/accounts.git
synced 2024-11-19 11:43:07 +05:30
16 lines
367 B
PHP
16 lines
367 B
PHP
<?php
|
|
namespace common\components;
|
|
|
|
/**
|
|
* This class was used for the first generation of passwords on the Ely.by
|
|
* and should now be systematically cut from the project in order to replace this algorithm
|
|
* with a more secure one.
|
|
*/
|
|
class UserPass {
|
|
|
|
public static function make($email, $pass) {
|
|
return md5($pass . md5(strtolower($email)));
|
|
}
|
|
|
|
}
|