adding validation errors in custom login page of theme

adding validation errors in custom login page of theme

by Zuheb A -
Number of replies: 0

Hello

i have created custom login page using my new mostache file and i have added below error code to print errors

{{#error}}

      <div class="loginerrors mt-3">

<a href="#" id="loginerrormessage" class="accesshide">{{error}}</a>

<div class="alert alert-danger" role="alert">{{error}}</div>

</div>

{{/error}}



which variable or function to pass from login.php to this template file to print errors.


Average of ratings: -