Return An Error From Custom Database Login Script That Does Not Emit `fp` nor `fu`

Overview

The documentation for Return an Error under Login Script Templates shows that you can only return errors that will emit either a `fp` or `fu` event. This article details whether it is possible to return an error not related to an invalid username or password?

Applies To

  • Login Script Templates
  • Return an Error

Solution

It is only possible to return an `fp` or `fu` error, as the documentation referenced explains. The errors returned are for Failed Login (Incorrect Password) or Failed Login (Invalid Email/Username). 

Recommended content

No recommended content found...