Skip to content

Commit

Permalink
Makes User's username nonnull (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Tomsu committed May 24, 2016
1 parent 55cb9ec commit ffc028b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ class User implements Serializable, UserDetails {
roles?.collect { new SimpleGrantedAuthority(it) }
}

String username = email

/** Not used **/
String username
@JsonIgnore String password

@Override
Expand Down

0 comments on commit ffc028b

Please sign in to comment.