File tree 1 file changed +4
-2
lines changed
wire/modules/Process/ProcessLogin
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class ProcessLogin extends Process {
106
106
107
107
}
108
108
109
- protected function buildLoginForm () {
109
+ protected function ___buildLoginForm () {
110
110
111
111
$this->nameField = $this->modules->get('InputfieldText');
112
112
$this->nameField->set('label', $this->_('Username')); // Login form: username field label
@@ -132,13 +132,15 @@ class ProcessLogin extends Process {
132
132
$this->form->add($this->nameField);
133
133
$this->form->add($this->passField);
134
134
$this->form->add($this->submitField);
135
+
136
+ return $this->form;
135
137
}
136
138
137
139
/**
138
140
* Render the login form
139
141
*
140
142
*/
141
- protected function renderLoginForm () {
143
+ protected function ___renderLoginForm () {
142
144
if(isset($_GET['login'])) {
143
145
$this->afterLoginRedirect();
144
146
} else {
You can’t perform that action at this time.
0 commit comments