How to use action:auth.overrideLogin hook? what arguments are needed (or at least where to find such information)?
Assume we have function magic() which performs authentication. How would the rest of code look like? How to obtain credentials?
Disable single plugin ./nodebb reset plugin="nodebb-widget-essentials" - No Success
Disable all plugins - No Success
Drop all collections in Mongo, and ./nodebb setup - No Success
Delete nodebb.min.js from public directory - No Success
Delete all public subdirectories that could be found in .gitignore - No Success
Delete public directory and checkout latest from current branch - Success
@psychobunny is there any option to include plugin client js only for /account/edit endpoint?
Also, Do you have an ideas, how to augment template for the plugin use - templates/account/edit.tpl? I need add dynamic set of fields to the template, Vanilla's account-edit template is 3 column layout (md:2-5-5), I would like to have (md: 2:4:3:3). Main problem here, that I can't find really abstract approach, solution will be very dependent on Theme... One solution, just replace template on app startup, another option, create set of regexps and try to change template or dom manipulation to get another set of columns. Anyway I'm looking for less dependent solution, so It will not brake with every release of the theme and easily work with another themes
Taking everything into consideration, I will swap edit.tpl and include client js with a template just as script tag. But maybe you have better ideas 😉