This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

nicolas25285
nicolas25285

I use the RainLab.User plugin. I can not use the sessions on my page :( I created a new member in http://october/admin/rainlab/user/users and that I activated.

My account.htm page ...

title = "Membership Area"
url = "/account/:code?"
layout = "octaskin"
description = "Member page"
is_hidden = 0

[Account]
paramCode = "code"
forceSecure = 0

[session]
security = "all"

The code : {% component 'account'%} displays well the forms to register and connect but the code:

{% if user %}
    <p>Hello {{ user.name }}</p>
{% else %}
    <p>Nobody is logged in</p>
{% endif %}

always returns to the same page without connecting, why?

Thank you for your help :)

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.