@@ -241,7 +241,4 @@ |
||
| 241 | 241 | 'Link' => $partial->getPartialLink() |
| 242 | 242 | ])->renderWith(['PartialUserForm', 'Page']); |
| 243 | 243 | } else { |
| 244 | - return $this->httpError(404); |
|
| 245 | - } |
|
| 246 | - } |
|
| 247 | -} |
|
| 244 | + return $this->httpError |
|
| 248 | 245 | \ No newline at end of file |
@@ -236,6 +236,4 @@ |
||
| 236 | 236 | */ |
| 237 | 237 | public function generateKey($token) |
| 238 | 238 | { |
| 239 | - return hash_pbkdf2('sha256', $token, $this->TokenSalt, 1000, 16); |
|
| 240 | - } |
|
| 241 | -} |
|
| 239 | + return hash_pbkdf2('sha256', $token, $this->TokenSalt |
|
| 242 | 240 | \ No newline at end of file |