Author Topic: Login with email and password ?  (Read 262 times)

provoquestosito

  • Confirmed Member
  • **
  • Posts: 3
  • Karma: +0/-0
Login with email and password ?
« on: March 09, 2017, 11:34:12 AM »
Good morning

can I use email and password to login to the site (like Facebook)?

I would like to delete or not to use the username field and logging the users to the site using your email and password.

It's possible this change ?

Thank you

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3005
  • Karma: +210/-7
    • Maverick Webworks
Re: Login with email and password ?
« Reply #1 on: March 09, 2017, 01:00:47 PM »
Quote
I would like to delete or not to use the username field and logging the users to the site using your email and password.

Sorry can't help you with this as it would require a major rewrite to core files of the script.

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

provoquestosito

  • Confirmed Member
  • **
  • Posts: 3
  • Karma: +0/-0
Re: Login with email and password ?
« Reply #2 on: March 11, 2017, 10:25:38 AM »
Hi

Thanks for reply.

If I save in username the email value can be works ?

username and email I save in mysql the same value (the email of profile) can be a solution ?

Thanks, Best Regards

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3005
  • Karma: +210/-7
    • Maverick Webworks
Re: Login with email and password ?
« Reply #3 on: March 11, 2017, 06:21:45 PM »
Unfortunately it's not going to be quite that simple, and just doing what you suggest will likely just break your site. The username is an important part of the script and integrated throughout the script and can't be removed or replaced without doing a major re-write.

It might be possible to figure how to use both the email address or the username to login, however I've tried looking into this before and couldn't come up with a solution, so I can't offer much help in accomplishing what you want.

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Login with email and password ?
« Reply #4 on: March 15, 2017, 12:05:07 AM »

can I use email and password to login to the site (like Facebook)?


Why are you trying to be like Facebook?
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.