Correct way to integrated user login

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
FAlberto
Posts: 5
Joined: 13 Mar 2019, 19:22

Correct way to integrated user login

Post by FAlberto » 15 Mar 2019, 14:25

Hi, I added the aimeos package to my project in Slim.

How I can addapt my login system and user sessions with the aimeos package?

I don't know well how I can manipulate the code to unify my app with the aimeos package.

slim/slim: 3.0,
aimeos/aimeos-slim: ~2018.10


Thanks in advance.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Correct way to integrated user login

Post by aimeos » 16 Mar 2019, 11:20

You have to implement a customer manager that can store the required data and offers the same semantics as the the Laravel customer manager for example:
https://github.com/aimeos/ai-laravel/tr ... er/Manager

If you don't use a standard PHP session, you must implement an adapter for your session handling like this:
https://github.com/aimeos/aimeos-core/b ... on/PHP.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply