fix! bitrixable hash
This commit is contained in:
parent
02d7a3f088
commit
3a37207be3
@ -65,7 +65,8 @@ protected static function booted()
|
||||
}
|
||||
if ($sender)
|
||||
{
|
||||
$bitrixId->token = Hash::make(json_encode([$object]));
|
||||
//$bitrixId->token = Hash::make(json_encode([$object]));
|
||||
$bitrixId->token = hash('sha256', $bitrixId->bx_id . $bitrixId->bitrixable_id . $bitrixId->bitrixable_type);
|
||||
$sender->setCallbackUrl(
|
||||
route('api.bx.action', [
|
||||
'token' => $bitrixId->token
|
||||
|
||||
@ -17,7 +17,7 @@ class="bi bi-check-circle" viewBox="0 0 16 16">
|
||||
Вам на электронную почту дальнейшие инструкции!
|
||||
</div>
|
||||
<div class="d-flex justify-content-center">
|
||||
<a href="route('welcome')" class="btn btn-primary">Вернуться к авторизации</a>
|
||||
<a href="{{ route('welcome') }}" class="btn btn-primary">Вернуться к авторизации</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user