Verified Commit f4e6b00c authored by Chocobozzz's avatar Chocobozzz
Browse files

Test login hook in hello world plugin

parent 79b5e363
function register ({ registerHook, peertubeHelpers }) {
registerHook({
target: 'action:login.init',
handler: () => {
console.log('Login init')
document.querySelector('.looking-for-account > div').innerHTML = 'Hello'
}
})
}
export {
register
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment