[P10] Login System Action Warning

[P10] Login System Action Warning

  

Why does the Login action from System module in P10 gives this warning?


"Unexpected Login
Please consider using login actions from module 'Users'.

This message is receiving more parameters than it uses."


Login actions from module Users have different parameters..

Hi Carlos,

The login-function in the Users module is a wrapper around the system-login and adds some extra functionality.

For instance the automatic locking mechanism after several incorrect attempts to login.

The use of the Login from the Users module is therefore more secure and the preferred method.

Kind regards,

Remco Dekkinga

I understand that, but there is not a login action from the Users module that do a login by just passing by the UserId.

The only action to do this, is the Login action from the System module.


The warning would be right if I had a similar action in the Users module..

Hi Carlos,

You're completely right. It's the LoginPassword that is extended. The Login is without the password and should only be used internally in specific cases.

Kind regards,

Remco Dekkinga