Skip to content

Commit 975f8a9

Browse files
author
mostafa
committed
attempt tokon
1 parent 3489bef commit 975f8a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Auth/Auth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @since 2019
99
* @copyright 0dev.co (https://0dev.co)
1010
*/
11-
11+
1212
use Illuminate\Http\Request;
1313
use Kauth\Model\KauthModel;
1414
use Kauth\Token\Token;
@@ -123,7 +123,7 @@ public function attempt($credentials)
123123
$jwt->iat = $payloader['iat'];
124124
$jwt->exp = $payloader['expM'];
125125
$jwt->save();
126-
return $jwt;
126+
return $jwt->tokon;
127127
}
128128
return "wrong credentials";
129129
}

0 commit comments

Comments
 (0)