The language key is concatenated. Search for
USERNAME_DISALLOWED. You should find it twice, in the language file and in
display()method renders the page and sends the reply back to the client. Your code never executes. Move it between
display()and it should work.
Code: Select all
$first_visit = !empty($this->user->data['session_created']);