aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Http/Controllers/PublicKeyController.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-07 16:16:27 +0200
committerMarvin Borner2018-07-07 16:16:27 +0200
commit03096ffce9ec5dcf8804b530462a82890232306e (patch)
tree636d148b8b8576bf8cb536add18be493d3dd3615 /app/Http/Controllers/PublicKeyController.php
parent84e758a59cea20508bad93a129acbad5d4474c5d (diff)
Better function name for less confusion
Diffstat (limited to 'app/Http/Controllers/PublicKeyController.php')
-rw-r--r--app/Http/Controllers/PublicKeyController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/PublicKeyController.php b/app/Http/Controllers/PublicKeyController.php
index 3257646..4557733 100644
--- a/app/Http/Controllers/PublicKeyController.php
+++ b/app/Http/Controllers/PublicKeyController.php
@@ -32,7 +32,7 @@ class PublicKeyController extends Controller
return response()->json(['message' => 'Successfully inserted public key.']);
}
- public function setUsersKeyCookie(Request $request)
+ public function setUsersKeyByCookie(Request $request)
{
if ($_COOKIE['publickey'] !== null) {
$user = Auth::user();