You’ll want to contact the author @SPRUKO in this case because it looks like a bug even in the live demo. However, this particular error appears to be non-fatal, so it’s not going to hurt anything.
It might be as simple as removing the reference to custom.js for the login pages, as the code in that file seems mostly intended for the dashboard, but the author will be able to provide the best advice.