Custom auth handler Last updated: 02. Jan 2023
This example shows how to create your custom login (username and password) checker.
Example
Code #/Auth.js
if (query.login == "super" && query.password == "duper")
{
/* Login success, return username */
return query.login;
}
else
{
/* Login failed, return null */
return null;
}