Skip to content

Commit bef7cb5

Browse files
committed
Merge pull request #876 from ohmage/ohmage-2.17.1
bugfix user reg
2 parents b8c6209 + 4619f54 commit bef7cb5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<property file="build.properties"/>
44
<property name="library" location="lib"/>
55
<property name="app_name" value="ohmage"/>
6-
<property name="app_version" value="2.17.1"/>
6+
<property name="app_version" value="2.17.2"/>
77
<property name="src" location="src"/>
88
<property name="test" location="test"/>
99
<property name="view" location="view"/>

src/org/ohmage/query/impl/UserQueries.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ public void createUserRegistration(
641641
new Object[] {
642642
username,
643643
hashedPassword,
644-
//null,
644+
null,
645645
emailAddress,
646646
false,
647647
false,
@@ -657,12 +657,13 @@ public void createUserRegistration(
657657
SQL_INSERT_USER +
658658
"' with parameters: " +
659659
username + ", " +
660-
emailAddress + ", " +
661660
hashedPassword + ", " +
661+
"null" +
662+
emailAddress + ", " +
662663
false + ", " +
663664
false + ", " +
664665
false + ", " +
665-
"null",
666+
defaultCampaignCreationPrivilege,
666667
e);
667668
}
668669

0 commit comments

Comments
 (0)