login error 405 (Method Not Allowed)

I have version 8.0.31 that the company bought.
I tried logging in as admin@demo.com/demo and demo@demo.com/demo.
but this account is not worked.
If you look at the previous answer, you can see the upgrade answer.
I can't find the location of that file on this site.
What should I do?

xhr.js?b50d:187 GET https://preview.keenthemes.com/metronic8/laravel/api/login?email=admin%40demo.com&password=demo 405 (Method Not Allowed)
SignIn.vue?2b36:61 Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.keys () at eval (SignIn.vue?2b36:61:1)

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 (2)

I solved it by deleting the watch(()=> route.path) part.

Hi,

Glad to hear that. During the new updates, we made some changes to our API and on the Vue version related to authentication, these updates might influence older versions.

We highly recommend using the latest available version of Metronic. You can check our "Updates" doc:
https://preview.keenthemes.com/metronic8/vue/docs/#/updates

Regards,
Lauris Stepanovs,
Keenthemes Support Team

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  :(