moiri / pflanzenlabor

The source code for the webpage of Giovina Nicolai
https://www.pflanzenlabor.ch
1 stars 0 forks source link

User ID in Page Class #2

Closed moiri closed 6 years ago

moiri commented 6 years ago

Originally reported by Simon Maurer (Bitbucket: moiri, GitHub: moiri)


It would probably make sense to manage the user id at some sensible place.

Once a login is available there will for sure be a login page but right now it might make sense to move this to the page class.


moiri commented 6 years ago

Original comment by Simon Maurer (Bitbucket: moiri, GitHub: moiri)


The user id handling was changed with v1.2.0. A new class User is used to handle user related data

moiri commented 6 years ago

Original comment by Simon Maurer (Bitbucket: moiri, GitHub: moiri)


It might be interesting to rethink when to use the session and when to use post fields. When using post fields it would make sense to serialize the data and send it in one encrypted field rather than cleartext.