Skip to content

Commit

Permalink
Deprecate bad methods.
Browse files Browse the repository at this point in the history
These methods are bad and should feel bad.
  • Loading branch information
markstory committed Feb 22, 2016
1 parent 7df99ff commit 7e5f563
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Cake/Utility/Security.php
Expand Up @@ -61,6 +61,7 @@ public static function inactiveMins() {
* Generate authorization hash.
*
* @return string Hash
* @deprecated 2.8.1 This method was removed in 3.0.0
*/
public static function generateAuthKey() {
return Security::hash(CakeText::uuid());
Expand All @@ -71,6 +72,7 @@ public static function generateAuthKey() {
*
* @param string $authKey Authorization hash
* @return bool Success
* @deprecated 2.8.1 This method was removed in 3.0.0
*/
public static function validateAuthKey($authKey) {
return true;
Expand All @@ -92,7 +94,7 @@ public static function validateAuthKey($authKey) {
* Creating a blowfish/bcrypt hash:
*
* ```
* $hash = Security::hash($password, 'blowfish');
* $hash = Security::hash($password, 'blowfish');
* ```
*
* @param string $string String to hash
Expand Down

0 comments on commit 7e5f563

Please sign in to comment.