Browse Source

make email key for user

Maxim Sokhatsky 11 years ago
parent
commit
106395555e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/users.hrl

+ 1 - 1
include/users.hrl

@@ -1,6 +1,7 @@
 -include("types.hrl").
 
 -record(user, {
+        email,
         username :: username_type() | '_', %% Dialyzer and record MatchSpec warnings http://j.mp/vZ8670
         display_name,
         password,
@@ -8,7 +9,6 @@
         twitter_id,
         googleplus_id,
         auth,
-        email,
         avatar,
         name = undefined,
         surname = undefined,