Skip to content

Commit

Permalink
Self Registration - not adding profile (geonetwork#1298).
Browse files Browse the repository at this point in the history
  • Loading branch information
François Prunayre committed May 31, 2013
1 parent b6cbd2e commit e24721b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public Element serviceSpecificExec(Element params, ServiceContext context)
dbms.execute(query, Integer.valueOf(id), username, passwordHash , surname, name, PROFILE, address,
city, state, zip, country, email, organ, kind);

dbms.execute("INSERT INTO UserGroups(userId, groupId) VALUES (?, ?)", Integer.valueOf(id), Integer.valueOf(group));
dbms.execute("INSERT INTO UserGroups(userId, profile, groupId) VALUES (?, ?, ?)", Integer.valueOf(id), PROFILE, Integer.valueOf(group));

// Send email to user confirming registration

Expand Down
2 changes: 1 addition & 1 deletion web/src/main/webapp/loc/fre/xml/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@
<register>Créer un compte</register>
<registerChoose>Je souhaite </registerChoose>
<RegisteredUser>Utilisateur enregistré</RegisteredUser>
<registerTitle>Formulaire d\'enregistrement</registerTitle>
<registerTitle>Créer un compte</registerTitle>
<registrationDetails>Information sur l'inscription :</registrationDetails>
<remote>Recherche distante</remote>
<remoteType>Distant</remoteType>
Expand Down

0 comments on commit e24721b

Please sign in to comment.