Login Form Behavior and Authentication Flow in login.wm

Applicable Product:

Peoplefluent Learning

 

Applicable Version:

All Versions


Overview

The login.wm file contains the HTML form responsible for submitting user credentials to the LMS authentication endpoint.

 

Login Form Structure

<form method="post" action="/$info.getContextPrefix()/servlet/login">

Key points:

  • Uses HTTP POST

  • Submits credentials securely to the LMS

  • Relies on backend authentication logic

 

What Should NOT Be Changed

  • form action URL

  • Input field names for username/password

  • Authentication-related hidden fields

Changing these may:

  • Break login functionality

  • Prevent SSO from working

  • Cause authentication failures

 

Safe Customizations

  • Text labels and instructions

  • UI layout around the form

  • CSS styling

  • Logos and informational messages

 

Troubleshooting Login Issues

  • Blank page → HTML syntax error

  • Login loop → modified form action or field names

  • Page loads but login fails → backend or SSO configuration issue

 

Summary

  • login.wm handles credential submission

  • Functional elements must remain intact

  • UI changes should not alter authentication logic

Was this article helpful?

0 out of 0 found this helpful