Skip to content

Commit

Permalink
[IM] do not include period with API key as it will cause confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jul 20, 2021
1 parent 92deecf commit 30cb322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/ApiKeyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function doStore( Request $r )
$this->object->user_id = $r->user()->id;
$this->object->save();

AlertContainer::push( "API key created: <code>" . $key . "</code>.", Alert::SUCCESS );
AlertContainer::push( "API key created: <code>" . $key . "</code>", Alert::SUCCESS );
return true;
}

Expand Down Expand Up @@ -276,4 +276,4 @@ public function checkForm( Request $r ): void
'expires' => 'nullable|date|after:' . now()->format( "Y-m-d" ),
] );
}
}
}

0 comments on commit 30cb322

Please sign in to comment.