What commit hash are you on?
b5ab91268177d58bd0c30dde3cd11c71f6db26a6
What CodeIgniter version are you using?
v4
What PHP version are you using?
PHP 7.2
Post your Ion Auth config below
Config goes here
Describe the bug
The IonAuthModel has a function messagesArray() which is supposed to return the message array of string but it is outputing the message template as well in addition to returning array.
To Reproduce
Steps to reproduce the behavior:
Extend your controller with IonAuth\Controllers\Auth
Call $this->ionAuth->messages() method in any of the function in your method which yeilds a success message.
print the response from step 2.
See error
Expected behavior
The function should only return array of success message string and shouldn't output anything as there is already another method provided for output purpose.
Which branch are you using? 4
What commit hash are you on? b5ab91268177d58bd0c30dde3cd11c71f6db26a6
What CodeIgniter version are you using? v4
What PHP version are you using? PHP 7.2
Post your Ion Auth config below
Describe the bug The IonAuthModel has a function messagesArray() which is supposed to return the message array of string but it is outputing the message template as well in addition to returning array.
To Reproduce Steps to reproduce the behavior:
Expected behavior The function should only return array of success message string and shouldn't output anything as there is already another method provided for output purpose.