HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is there a way for a plugin to override controller view?
TiGR
✭
Well, I'm writing a set of auth plugins (instead of existing ones, since these are much of copy/paste which is wrong for maintenance and architectural issues). And now I've met that Entry controller Connect method does not support services that do not provide user email. The simplest fix is to tweak something in entry/connect.php view. But it seems that application views are not overridable by plugins. Is that correct? Could this be changed?
Tagged:
0
Best Answer
-
Linc AdminThe view should be overridable on the fly. Use $this->GetView('view.php') in the plugin to get the string to set as the view name.0
Answers