X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_password-methods-crypt.inc;h=2c979aa9e7188f197850bbf36008c9937a5bd3c6;hb=b21c0ebad0d51dba8d8fec81c117b1250bf48323;hp=c3d21c8b459ed958299380681a97fc04f93194fb;hpb=c2c6a6e54355a1b67c25bb4d761d847513810d02;p=gosa.git diff --git a/include/class_password-methods-crypt.inc b/include/class_password-methods-crypt.inc index c3d21c8b4..2c979aa9e 100644 --- a/include/class_password-methods-crypt.inc +++ b/include/class_password-methods-crypt.inc @@ -36,8 +36,15 @@ class passwordMethodCrypt extends passwordMethod function generate_hash($pwd) { - return "{crypt}".crypt($pwd, substr(session_id(),0,2)); + return "{CRYPT}".crypt($pwd, substr(session_id(),0,2)); } + + + function get_hash_name() + { + return "crypt"; + } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: