Skip to content

Instantly share code, notes, and snippets.

@cretueusebiu
Created February 27, 2018 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cretueusebiu/54fd994c99b4129473aa32dd40546f31 to your computer and use it in GitHub Desktop.
Save cretueusebiu/54fd994c99b4129473aa32dd40546f31 to your computer and use it in GitHub Desktop.
The error with the ids of the email/password not being unique is because by default it uses both modal and pages. You could just edit app/views/login.php and change id="email" and id="password", but that's not the problem here.
Your website is running with www but the url you've set in app/config/app.php doesn't have www so you get that error with Access-Control-Allow-Origin.
Just make sure the url from the config file is the same as the url of the website. In your case with www.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment