We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4195
    • 398 Posts
    First I wanna say... WOW great framework!

    Secondly i’m still in my MODx-discovery phase so maybe I can will provide my own answer in the next couple of hours/days but I would like to ask a question:

    I want to alter the login in such a way that a web/manager user can login using his/her e-mail+password instead of username+password.
    Can this be done without hacking core files (using the eventhandlers or any other ’hook into the framework’) ?



      Armand Pondman
      MODx Coding Team
      :: Jot :: PHx
      • 18397
      • 3,250 Posts
      Sorry for not responding sooner--- seems your post missed my "Unread Posts" box....

      Yes, just modify the WebLogin snippet to use the email field from the db. Make sure to name the new snippet something differant so future updates won’t overwrite your changes.

      Hope that helps!