$customerData['shippingaddress'
]['country'
] =
$this->
get(LegacyStructConverter::
class)->
convertCountryStruct($country);
} $this->
View()->
assign('activeBillingAddressId',
$activeBillingAddressId);
$this->
View()->
assign('activeShippingAddressId',
$activeShippingAddressId);
$this->
View()->
assign('sUserData',
$customerData);
$this->
View()->
assign('userInfo',
$this->
get('shopware_account.store_front_greeting_service'
)->
fetch());
$this->
View()->
assign('sUserLoggedIn',
$this->admin->
sCheckUser());
$this->
View()->
assign('sAction',
$this->request->
getActionName());
if ($this->
isOneTimeAccount() && !\
in_array($this->request->
getActionName(),
['abort', 'login', 'register'
])) { $this->
logoutAction();
$this->
redirect(['controller' => 'register'
]);
} } /**
* @return void
*/
public function indexAction() { if ($this->
Request()->
getParam('success'
)) { $this->
View()->
assign('sSuccessAction',
$this->
Request()->
getParam('success'
));
}