Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmashivakavi committed Oct 5, 2023
1 parent 0e2f882 commit e1d39e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Http/Controllers/Account/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ public function sniff(string $key = null)
session()->forget('sniffed');
session()->forget('sniff');

if($this->isMethod('post')){
$key = $this->post("key");
}
$key = $this->post("key", $key);

try {
$decrypted = decrypt($key);
Expand Down

0 comments on commit e1d39e2

Please sign in to comment.