Skip to content

Commit

Permalink
Add upd_pass() review to the deck.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jul 14, 2010
1 parent 704f302 commit b19995b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/012-userfunc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CREATE OR REPLACE FUNCTION upd_pass(
nick TEXT,
oldpass TEXT,
newpass TEXT
) RETURNS BOOL LANGUAGE plpgsql AS $$
) RETURNS BOOLEAN LANGUAGE plpgsql AS $$
BEGIN
UPDATE users
SET password = crypt($3, gen_salt('md5'))
Expand Down
Binary file modified tddd.key
Binary file not shown.

0 comments on commit b19995b

Please sign in to comment.