Closed MaybeRex closed 8 years ago
you need to make better titles.
also, your bug report states what it should be doing. so its not reporting anything.
should read similar to the following :
if awesome-login-sceen data-action path is specified it should prevent the default auth from loading, but both are still loading.
reporting bugs clearly is a very important skill if you want them to be fixed. ;)
To load one's own action for use in awesome-login-screen within a html screen or index, we must currently do as so within the script tags:
const login=document.createElement('awesome-login-screen');
login.dataset.action_path=${proprietaryrepo.path}actions/yourAuth.js
;
window.on(
'DOMContentLoaded',
function(){
document.body.appendChild(login);
}
)
Please change to solution shown below :
const login=document.createElement('awesome-login-screen');
login.dataset.action_path=${proprietaryrepo.path}actions/yourAuth.js
;
awesome.appendComponent(login);
plz make new issue @asida18
awesome-login-screen
awesome-login-sceen data-action path should accept a template string as a path