feat(chat): botón cerrar sesión en el header del chat
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
5f06c27869
commit
9d0940873d
@@ -137,6 +137,27 @@ class PublicChat extends Component
|
||||
$this->paso = 'email';
|
||||
}
|
||||
|
||||
public function cerrarSesion(): void
|
||||
{
|
||||
$this->email = '';
|
||||
$this->nombreRegistro = '';
|
||||
$this->cedulaRegistro = '';
|
||||
$this->celularRegistro = '';
|
||||
$this->codigoIngresado = '';
|
||||
$this->emailMascarado = null;
|
||||
$this->contactIdPending = null;
|
||||
$this->userId = null;
|
||||
$this->nombreUsuario = null;
|
||||
$this->saldoUsuario = null;
|
||||
$this->convId = null;
|
||||
$this->estadoConv = 'bot';
|
||||
$this->flujo = '';
|
||||
$this->flujoData = [];
|
||||
$this->mensajes = [];
|
||||
$this->input = '';
|
||||
$this->paso = 'email';
|
||||
}
|
||||
|
||||
// ─────────────────────────────────────────────────────────
|
||||
// Paso 2b: verificar código OTP
|
||||
// ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user