{"id":105,"date":"2011-04-21T04:29:07","date_gmt":"2011-04-21T04:29:07","guid":{"rendered":"http:\/\/www.evermoredevnotes.com\/?p=105"},"modified":"2011-04-21T04:29:07","modified_gmt":"2011-04-21T04:29:07","slug":"drupal-email-address-logins","status":"publish","type":"post","link":"https:\/\/www.evermoretechnologies.com\/blog\/2011\/04\/drupal-email-address-logins\/","title":{"rendered":"Drupal email address logins"},"content":{"rendered":"<p>I needed to create a drupal site where email addresses were usernames.  Username settings in drupal don&#8217;t allow for email address characters, so setting the username to the email address wasn&#8217;t an option.<\/p>\n<p>Like most things drupal, turns out there&#8217;s a module for that.  It has a drupal 5, 6 and 7 version, and the 7 version works great on a site I&#8217;m working on.  <a href=\"http:\/\/drupal.org\/project\/email_registration\" target=\"_blank\">Drupal Email login<\/a>: <a title=\"Drupal Email Registration\" href=\"http:\/\/drupal.org\/project\/email_registration\" target=\"_blank\">http:\/\/drupal.org\/project\/email_registration<\/a><\/p>\n<p>It just adds some logic to the login function that looks up username based on email address and uses that with the core drupal login function.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed to create a drupal site where email addresses were usernames. Username settings in drupal don&#8217;t allow for email address characters, so setting the username to the email address wasn&#8217;t an option. Like most things drupal, turns out there&#8217;s a module for that. It has a drupal 5, 6 and 7 version, and the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[19,7],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-drupal","category-programming"],"_links":{"self":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":0,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evermoretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}