summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold Daniels <arnold@jasny.net>2014-11-12 01:35:11 +0100
committerArnold Daniels <arnold@jasny.net>2014-11-12 01:35:11 +0100
commit76aa7b9b29f0296ac98e686af6c0591932ec433a (patch)
treedab8d897edd132eb5eecf6cd349fa0ba425bf907
parent49f89577990fe3dabed96384a17cd9bcf2557dfa (diff)
downloadauth-76aa7b9b29f0296ac98e686af6c0591932ec433a.zip
auth-76aa7b9b29f0296ac98e686af6c0591932ec433a.tar.gz
auth-76aa7b9b29f0296ac98e686af6c0591932ec433a.tar.bz2
Make Auth::fetchForConfirmation() static
-rw-r--r--src/Jasny/Auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Jasny/Auth.php b/src/Jasny/Auth.php
index 0e21830..8fbaec1 100644
--- a/src/Jasny/Auth.php
+++ b/src/Jasny/Auth.php
@@ -191,7 +191,7 @@ abstract class Auth
* @parma string $hash confirmation hash
* @return User
*/
- public function fetchForConfirmation($hash)
+ public static function fetchForConfirmation($hash)
{
$id = base_convert(substr($hash, 10), 36, 10);
if (static::generateConfirmationHash($id) != $hash) return null; // invalid hash