Skip to content

Commit

Permalink
feat: update connekio auth header format (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: robusta <[email protected]>
  • Loading branch information
OlfatMostafa and Olft authored Apr 22, 2021
1 parent a0f363d commit 6b29c25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Drivers/ConnekioDriver.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace RobustTools\SMS\Drivers;

use RobustTools\SMS\Abstracts\Driver;
Expand Down Expand Up @@ -135,7 +136,7 @@ public function send(): string
*/
private function authorization()
{
return base64_encode($this->username . $this->password . $this->accountId);
return base64_encode($this->username . ':' . $this->password . ':' . $this->accountId);
}

/**
Expand Down

0 comments on commit 6b29c25

Please sign in to comment.