Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

customizing the error message that appears when a login attempt fails with the Metronic Laravel package


I'm looking to customize the error message that appears when a login attempt fails with the Metronic Laravel package. I spotted a similar message in the create-app.js file, but my attempts to modify it were unsuccessful. Despite my modifications, the message displayed when attempting to log in with incorrect credentials remains unchanged. I want to know how and where I can actually change this error message so that it displays the custom text I want when authentication fails.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


Hi,

Sorry for the delay. The text message is from this JS file here
_keenthemes/src/js/custom/authentication/sign-in/general.js


Thanks



Hello,

To assist you better, could you please send a screenshot of the signup page along with the specific message you want to change? This will help us identify the exact element you are referring to.

You can use https://imgbb.com to host the image and share the link with us.

Thank you for your cooperation.



Here you find the link to the image where we have the error message that we wish to modify : https://ibb.co/JRrRcHc



Thank you for reaching out. In order to assist you better, could you please specify which specific error message you are trying to customize? Additionally, providing a screenshot or indicating the location within the Metronic Laravel package where you found a similar message in the create-app.js file would be helpful for further guidance.

P/S:
Currently, there is an issue with the Metronic Laravel package that is affecting its proper build on Windows OS. As a temporary solution, we have prepared a fix for you to apply. A permanent fix will be included in the upcoming updates. I appreciate your understanding, and if you have any further questions or concerns, please feel free to reach out.

https://gist.github.com/faizalmy/8e0a14f9949b4f6cd93add7fb91529ee#file-webpack-mix-js-L55-L68.



I want to change the message that appears in the form of a pop-up when trying to connect to the dashboard with wrong credentials.I found similar message on file path: _keentheme/src/js/custom/utilities/model/create-app.js.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(