Diff of /wiki/branches/pitpalme/jamwiki-core/src/main/resources/sql/sql.ansi.properties [r4314] .. [r4315] Maximize Restore

  Switch to side-by-side view

--- a/wiki/branches/pitpalme/jamwiki-core/src/main/resources/sql/sql.ansi.properties
+++ b/wiki/branches/pitpalme/jamwiki-core/src/main/resources/sql/sql.ansi.properties
@@ -211,7 +211,7 @@
 STATEMENT_CREATE_USERS_TABLE = \
     CREATE TABLE jam_users ( \
       username varchar(100) NOT NULL, \
-      password varchar(100) NOT NULL, \
+      password varchar(150) NOT NULL, \
       enabled INTEGER DEFAULT 1 NOT NULL, \
       challenge_value varchar(100), \
       challenge_date timestamp, \
@@ -1189,6 +1189,9 @@
     select username from jam_users \
     where username = ? \
     and password = ?
+STATEMENT_SELECT_USERS_ENCRYPTED_PASSWORD = \
+    select password from jam_users \
+    where username = ?
 STATEMENT_SELECT_VIRTUAL_WIKI_SEQUENCE = \
     select max(virtual_wiki_id) as virtual_wiki_id from jam_virtual_wiki
 STATEMENT_SELECT_VIRTUAL_WIKIS = \
@@ -1460,4 +1463,4 @@
     ALTER TABLE jam_users ADD COLUMN challenge_ip varchar(39)
 UPGRADE_130_ADD_USER_TABLE_COLUMN_CHALLENGE_TRIES = \
     ALTER TABLE jam_users ADD COLUMN  challenge_tries integer default 0 not null
- +