[MGNLSTK-729] Login form should not show up if the user is logged in Created: 17/Dec/10  Updated: 09/Mar/11  Resolved: 12/Jan/11

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: paragraphs
Affects Version/s: None
Fix Version/s: 1.4.2

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Tobias Mattsson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLPUR-51 Login and Logout form should use earl... Closed
relation
is related to MGNLSTK-728 Logout button should not tell me I ne... Closed
is related to MGNLSTK-752 Login form field labels are hardcoded Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The stkPURLoginForm paragraph uses the default form.ftl from the form module. It should at least encapsulate it, or specialize it, to make it possible to hide a login form to users who are already logged in.



 Comments   
Comment by Philipp Bärfuss [ 24/Dec/10 ]

The login form should probably not base on the form module anymore for the following reason:

  • the processing is anyway done by the filter
  • we have to show the login error messages
  • the redirect can be done in the specific model

The paragraph should probably show the logout button if the the user is logged in. So the login/logout form might be one single paragraph.

Generated at Mon Feb 12 07:29:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.